fix: use dynamic thinking_budget (-1) instead of hardcoded 8192 cap

This commit is contained in:
Greyson LaLonde
2026-03-17 11:51:11 -04:00
parent b204046cd6
commit f4df12a485

View File

@@ -160,7 +160,7 @@ class GeminiCompletion(BaseLLM):
and float(version_match.group(1)) >= 2.5
):
self.thinking_config = types.ThinkingConfig(
include_thoughts=True, thinking_budget=8192
include_thoughts=True, thinking_budget=-1
)
@property