[PR #6765] [MERGED] Flush pending responses before returning (#6707) #17491

Closed
opened 2026-04-16 06:04:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6765
Author: @jessegross
Created: 9/11/2024
Status: Merged
Merged: 9/11/2024
Merged by: @jessegross

Base: jmorganca/llamaHead: jessegross/bug_6707


📝 Commits (3)

  • a217d26 runner.go: Pass back StoppedLimit to Ollama
  • 7467a29 runner.go: Move check for incomplete Unicode after stop
  • e5845d9 runner: Flush pending responses before returning

📊 Changes

2 files changed (+55 additions, -51 deletions)

View changed files

📝 llama/runner/runner.go (+22 -24)
📝 llm/ext_server/server.cpp (+33 -27)

📄 Description

I'll cross-port the server.cpp portion to main after this goes in.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/6765 **Author:** [@jessegross](https://github.com/jessegross) **Created:** 9/11/2024 **Status:** ✅ Merged **Merged:** 9/11/2024 **Merged by:** [@jessegross](https://github.com/jessegross) **Base:** `jmorganca/llama` ← **Head:** `jessegross/bug_6707` --- ### 📝 Commits (3) - [`a217d26`](https://github.com/ollama/ollama/commit/a217d264179bf74e2acac507f08afb75a944fff7) runner.go: Pass back StoppedLimit to Ollama - [`7467a29`](https://github.com/ollama/ollama/commit/7467a29dfbf79433fd3de54c70a7c3118d1066c1) runner.go: Move check for incomplete Unicode after stop - [`e5845d9`](https://github.com/ollama/ollama/commit/e5845d969069fd5bfb60a72638914c47caa66472) runner: Flush pending responses before returning ### 📊 Changes **2 files changed** (+55 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `llama/runner/runner.go` (+22 -24) 📝 `llm/ext_server/server.cpp` (+33 -27) </details> ### 📄 Description I'll cross-port the server.cpp portion to main after this goes in. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 06:04:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#17491