Merge pull request #19988 from BerriAI/litellm_gemini_robotics_llm_provider2

Add custom_llm_provider as gemini translation
This commit is contained in:
Sameer Kankute 2026-01-29 18:12:03 +05:30 committed by GitHub
commit 7c4577b2ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,7 +92,7 @@ class GoogleAIStudioGeminiConfig(VertexGeminiConfig):
"parallel_tool_calls",
"web_search_options",
]
if supports_reasoning(model):
if supports_reasoning(model, custom_llm_provider="gemini"):
supported_params.append("reasoning_effort")
supported_params.append("thinking")
if self.is_model_gemini_audio_model(model):