[PR #6687] [CLOSED] Align OpenAI Chat option processing with Completion option processing #58896

Closed
opened 2026-04-29 13:47:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6687
Author: @rick-github
Created: 9/7/2024
Status: Closed

Base: mainHead: align-openai


📝 Commits (6)

  • b7bafd4 Fix "presence_penalty_penalty" typo, add test.
  • ed7673b gofumpt-ify changes.
  • c26a5b9 Merge branch 'ollama:main' into presence_penalty
  • 79dd7b7 Merge branch 'ollama:main' into presence_penalty
  • e9b7bb7 Merge branch 'ollama:main' into presence_penalty
  • 9ba9316 Align Chat option processing with Completion option processing

📊 Changes

2 files changed (+6 additions, -6 deletions)

View changed files

📝 openai/openai.go (+3 -3)
📝 openai/openai_test.go (+3 -3)

📄 Description

https://github.com/ollama/ollama/pull/6514 removed the scaling of option values for OpenAI Completion requests. Do the same for Chat requests.


🔄 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/6687 **Author:** [@rick-github](https://github.com/rick-github) **Created:** 9/7/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `align-openai` --- ### 📝 Commits (6) - [`b7bafd4`](https://github.com/ollama/ollama/commit/b7bafd4d09f51cc197dd1cd9796c2e33e6c4ec27) Fix "presence_penalty_penalty" typo, add test. - [`ed7673b`](https://github.com/ollama/ollama/commit/ed7673b39aeb286fdfe82204016aa923a5a46d69) gofumpt-ify changes. - [`c26a5b9`](https://github.com/ollama/ollama/commit/c26a5b9165446a7cd66c559575b26e7a70f03dc8) Merge branch 'ollama:main' into presence_penalty - [`79dd7b7`](https://github.com/ollama/ollama/commit/79dd7b7cce33ef4ebcefcd36577cd32e62cc1ec3) Merge branch 'ollama:main' into presence_penalty - [`e9b7bb7`](https://github.com/ollama/ollama/commit/e9b7bb7864fef2dc093c51e5155cd651b3f383de) Merge branch 'ollama:main' into presence_penalty - [`9ba9316`](https://github.com/ollama/ollama/commit/9ba93168e7faf3388245a20841f6e348279b21d4) Align Chat option processing with Completion option processing ### 📊 Changes **2 files changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `openai/openai.go` (+3 -3) 📝 `openai/openai_test.go` (+3 -3) </details> ### 📄 Description https://github.com/ollama/ollama/pull/6514 removed the scaling of option values for OpenAI Completion requests. Do the same for Chat requests. --- <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-29 13:47:00 -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#58896