[PR #5551] [MERGED] OpenAI v1/completions: allow stop token list #74117

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5551
Author: @royjhan
Created: 7/8/2024
Status: Merged
Merged: 7/9/2024
Merged by: @royjhan

Base: mainHead: royh-completions-tokens


📝 Commits (2)

📊 Changes

2 files changed (+20 additions, -5 deletions)

View changed files

📝 openai/openai.go (+9 -5)
📝 openai/openai_test.go (+11 -0)

📄 Description

Resolves #5545


🔄 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/5551 **Author:** [@royjhan](https://github.com/royjhan) **Created:** 7/8/2024 **Status:** ✅ Merged **Merged:** 7/9/2024 **Merged by:** [@royjhan](https://github.com/royjhan) **Base:** `main` ← **Head:** `royh-completions-tokens` --- ### 📝 Commits (2) - [`9803df7`](https://github.com/ollama/ollama/commit/9803df7a352049e9709afbc6af9968578c0f6a76) stop token parsing fix - [`906203a`](https://github.com/ollama/ollama/commit/906203af77f06a8f98a49e716eb3a04400e38eba) add stop test ### 📊 Changes **2 files changed** (+20 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `openai/openai.go` (+9 -5) 📝 `openai/openai_test.go` (+11 -0) </details> ### 📄 Description Resolves #5545 --- <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-05-05 06:05:09 -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#74117