fix: thinking display is disabled by default

This commit is contained in:
zhayujie
2026-04-17 15:31:59 +08:00
parent 35282db9e0
commit 13370d2056
9 changed files with 25 additions and 19 deletions

View File

@@ -169,7 +169,7 @@ class AgentLLMModel(LLMModel):
# Determine thinking: respect global config, then channel_type
from config import conf
global_thinking = conf().get("enable_thinking", True)
global_thinking = conf().get("enable_thinking", False)
if not global_thinking:
kwargs['thinking'] = {"type": "disabled"}
else:
@@ -222,7 +222,7 @@ class AgentLLMModel(LLMModel):
# Determine thinking: respect global config, then channel_type
from config import conf
global_thinking = conf().get("enable_thinking", True)
global_thinking = conf().get("enable_thinking", False)
if not global_thinking:
kwargs['thinking'] = {"type": "disabled"}
else: