[PR #11868] [MERGED] fix(openai): handle reasoning_effort #39512

Closed
opened 2026-04-23 00:22:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11868
Author: @mxyng
Created: 8/12/2025
Status: Merged
Merged: 8/12/2025
Merged by: @mxyng

Base: mainHead: mxyng/reasoning-effort


📝 Commits (1)

  • 5886b3e fix(openai): handle reasoning_effort

📊 Changes

4 files changed (+23 additions, -20 deletions)

View changed files

📝 api/types.go (+4 -4)
📝 openai/openai.go (+7 -4)
📝 server/prompt.go (+4 -4)
📝 server/routes.go (+8 -8)

📄 Description

Also update ThinkValue to implement fmt.Stringer


🔄 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/11868 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 8/12/2025 **Status:** ✅ Merged **Merged:** 8/12/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/reasoning-effort` --- ### 📝 Commits (1) - [`5886b3e`](https://github.com/ollama/ollama/commit/5886b3eff6255fda43694c7902fce56e37be0971) fix(openai): handle reasoning_effort ### 📊 Changes **4 files changed** (+23 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+4 -4) 📝 `openai/openai.go` (+7 -4) 📝 `server/prompt.go` (+4 -4) 📝 `server/routes.go` (+8 -8) </details> ### 📄 Description Also update `ThinkValue` to implement [`fmt.Stringer`](https://pkg.go.dev/fmt#Stringer) --- <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-23 00:22:38 -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#39512