[PR #7264] [CLOSED] Expose stop sequence #22906

Closed
opened 2026-04-19 16:38:26 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: return-stop-sequences


📝 Commits (1)

📊 Changes

3 files changed (+12 additions, -5 deletions)

View changed files

📝 api/types.go (+3 -0)
📝 llm/server.go (+3 -0)
📝 server/routes.go (+6 -5)

📄 Description

This PR returns the stop sequence which was triggered to GenerateResponses.

Closes https://github.com/ollama/ollama/issues/7257


🔄 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/7264 **Author:** [@someone13574](https://github.com/someone13574) **Created:** 10/18/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `return-stop-sequences` --- ### 📝 Commits (1) - [`90dc81e`](https://github.com/ollama/ollama/commit/90dc81e064127840f1c9d038ab09686436f8b11c) Expose stop sequence ### 📊 Changes **3 files changed** (+12 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+3 -0) 📝 `llm/server.go` (+3 -0) 📝 `server/routes.go` (+6 -5) </details> ### 📄 Description This PR returns the stop sequence which was triggered to GenerateResponses. Closes https://github.com/ollama/ollama/issues/7257 --- <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-19 16:38:27 -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#22906