fix(gemini): 对 thinking_budget 不同模型的处理

This commit is contained in:
foxplaying
2025-08-21 05:47:25 +08:00
committed by GitHub
parent 2a4facee0c
commit 068b2dc3d6

View File

@@ -348,7 +348,7 @@ class GeminiClient(BaseClient):
# 精确匹配或更精确的包含匹配
limits = None
matched_key = None
# 首先尝试精确匹配
if model_id in THINKING_BUDGET_LIMITS:
limits = THINKING_BUDGET_LIMITS[model_id]