[PR #10490] strip out thinking tags in message history for qwen3 & r1 #13256

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

Original Pull Request: https://github.com/ollama/ollama/pull/10490

State: closed
Merged: Yes


This is in advance of "proper" support where we'll make reasoning configurable and we'll parse out thinking/reasoning tags and provide them to the caller. These models expect there to be no thinking tags in the message history, so this should improve quality

**Original Pull Request:** https://github.com/ollama/ollama/pull/10490 **State:** closed **Merged:** Yes --- This is in advance of "proper" support where we'll make reasoning configurable and we'll parse out thinking/reasoning tags and provide them to the caller. These models expect there to be no thinking tags in the message history, so this should improve quality
GiteaMirror added the pull-request label 2026-04-13 00:22:13 -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#13256