fix(vertex_and_google_ai_studio_gemini.py): fix translation

This commit is contained in:
Krrish Dholakia 2025-04-19 09:02:19 -07:00
parent 211fffce89
commit 7bd2c11a7e

View file

@ -385,7 +385,7 @@ class VertexGeminiConfig(VertexAIBaseConfig, BaseConfig):
thinking_param: AnthropicThinkingParam,
) -> GeminiThinkingConfig:
thinking_enabled = thinking_param.get("type") == "enabled"
thinking_budget = thinking_param.get("budgetTokens")
thinking_budget = thinking_param.get("budget_tokens")
params: GeminiThinkingConfig = {}
if thinking_enabled: