refactor(model): remove mutual exclusion logic between json_output and deep_thinking

This commit is contained in:
Timebomb2018
2026-04-16 16:36:15 +08:00
parent 8c6b65db12
commit 7ba0726473

View File

@@ -52,12 +52,6 @@ class RedBearModelConfig(BaseModel):
f"模型 {self.model_name} 不支持 JSON 输出capability 中无 'json_output'),已自动关闭 json_output"
)
self.json_output = False
if self.json_output and self.deep_thinking:
logger.warning(
f"模型 {self.model_name} json_output 与 deep_thinking 互斥,已自动关闭 deep_thinking"
)
self.deep_thinking = False
self.thinking_budget_tokens = None
return self