From 5c0ea7781cf185c767a7153ee602cbdfaaa1808a Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 23 Oct 2025 12:16:19 -0700 Subject: [PATCH] fix: no thinking for claude 3 models --- core/llm/autodetect.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/llm/autodetect.ts b/core/llm/autodetect.ts index 2bf3b10e16d..d9a49c1cd65 100644 --- a/core/llm/autodetect.ts +++ b/core/llm/autodetect.ts @@ -144,7 +144,11 @@ function modelSupportsReasoning( if (!model) { return false; } - if ("anthropic" === model.underlyingProviderName) { + if ( + model.model.includes("claude") && + !model.model.includes("-3-") && + !model.model.includes("-3.5-") + ) { return true; } if (model.model.includes("deepseek-r")) {