[PR #7263] [CLOSED] Fix truncation of end of text when streaming with stop strings #12365

Closed
opened 2026-04-12 23:57:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7263
Author: @someone13574
Created: 10/18/2024
Status: Closed

Base: mainHead: fix-stop-sequences


📝 Commits (1)

  • 5b135a6 Fix truncation of end of text when streaming with stop strings

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 llm/ext_server/server.cpp (+5 -5)

📄 Description

Copied from https://github.com/ggerganov/llama.cpp/pull/9867
Closes https://github.com/ollama/ollama/issues/7256


🔄 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/7263 **Author:** [@someone13574](https://github.com/someone13574) **Created:** 10/18/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-stop-sequences` --- ### 📝 Commits (1) - [`5b135a6`](https://github.com/ollama/ollama/commit/5b135a60a59e916909cbc9eb5ca217195b64d9e7) Fix truncation of end of text when streaming with stop strings ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `llm/ext_server/server.cpp` (+5 -5) </details> ### 📄 Description Copied from https://github.com/ggerganov/llama.cpp/pull/9867 Closes https://github.com/ollama/ollama/issues/7256 --- <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-12 23:57:03 -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#12365