Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Add support for structured output thinkingConfig param

Sameer Kankute8e53d4f3eb9e
diff --git a/litellm/llms/gemini/google_genai/transformation.py b/litellm/llms/gemini/google_genai/transformation.py
index 335f4d5b0a5..d8692bb6a3a 100644
--- a/litellm/llms/gemini/google_genai/transformation.py
+++ b/litellm/llms/gemini/google_genai/transformation.py
@@ -106,7 +106,10 @@ class GoogleGenAIConfig(BaseGoogleGenAIGenerateContentConfig, VertexLLM):
Returns:
Mapped parameters for the provider
"""
- from litellm.llms.vertex_ai.gemini.transformation import _snake_to_camel, _camel_to_snake
+ from litellm.llms.vertex_ai.gemini.transformation import (
+ _camel_to_snake,
+ _snake_to_camel,
+ )
_generate_content_config_dict: Dict[str, Any] = {}
supported_google_genai_params = (