fix(gemini): 对 thinking_budget 不同模型的处理
This commit is contained in:
@@ -348,7 +348,7 @@ class GeminiClient(BaseClient):
|
|||||||
# 精确匹配或更精确的包含匹配
|
# 精确匹配或更精确的包含匹配
|
||||||
limits = None
|
limits = None
|
||||||
matched_key = None
|
matched_key = None
|
||||||
|
|
||||||
# 首先尝试精确匹配
|
# 首先尝试精确匹配
|
||||||
if model_id in THINKING_BUDGET_LIMITS:
|
if model_id in THINKING_BUDGET_LIMITS:
|
||||||
limits = THINKING_BUDGET_LIMITS[model_id]
|
limits = THINKING_BUDGET_LIMITS[model_id]
|
||||||
|
|||||||
Reference in New Issue
Block a user