thinking: turn on thinking mode for all reasoning models (#12533)

This commit is contained in:
Patrick Devine
2025-10-08 16:50:13 -07:00
committed by GitHub
parent 1fc35f1260
commit 90d429f5a8
4 changed files with 30 additions and 20 deletions

View File

@@ -1120,13 +1120,6 @@ func TestChatWithPromptEndingInThinkTag(t *testing.T) {
"The answer is 4.",
true)
testChatRequest(t, "thinking disabled but template still adds think tag",
"Simple question",
" My thoughts </think> The answer.",
"",
" My thoughts </think> The answer.",
false)
// Test streaming response with template-added <think>
t.Run("streaming with thinking", func(t *testing.T) {
var wg sync.WaitGroup