[PR #12024] [MERGED] server: skip parsing initial <think> if provided in the prompt #13690

Closed
opened 2026-04-13 00:32:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12024
Author: @jmorganca
Created: 8/22/2025
Status: Merged
Merged: 8/22/2025
Merged by: @jmorganca

Base: mainHead: jmorganca/think-parse


📝 Commits (1)

  • 9cf837d server: skip parsing initial if provided in the prompt

📊 Changes

2 files changed (+234 additions, -0 deletions)

View changed files

📝 server/routes.go (+4 -0)
📝 server/routes_generate_test.go (+230 -0)

📄 Description

No description provided


🔄 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/12024 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 8/22/2025 **Status:** ✅ Merged **Merged:** 8/22/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/think-parse` --- ### 📝 Commits (1) - [`9cf837d`](https://github.com/ollama/ollama/commit/9cf837dbc3feedc0eab0cd60f0c288d5dedd1bd3) server: skip parsing initial <think> if provided in the prompt ### 📊 Changes **2 files changed** (+234 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+4 -0) 📝 `server/routes_generate_test.go` (+230 -0) </details> ### 📄 Description _No description provided_ --- <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-13 00:32:53 -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#13690