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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Fix test_reasoning_effort_dict_format_gemini_3
Sameer Kankute9f66a4c122d4
diff --git a/tests/test_litellm/llms/vertex_ai/gemini/test_vertex_and_google_ai_studio_gemini.py b/tests/test_litellm/llms/vertex_ai/gemini/test_vertex_and_google_ai_studio_gemini.pyindex 6047da66b6d..bef3a69bb90 100644--- a/tests/test_litellm/llms/vertex_ai/gemini/test_vertex_and_google_ai_studio_gemini.py+++ b/tests/test_litellm/llms/vertex_ai/gemini/test_vertex_and_google_ai_studio_gemini.py@@ -1972,7 +1972,7 @@ def test_reasoning_effort_maps_to_thinking_level_gemini_3():model=model,drop_params=False,)- assert result["thinkingConfig"]["thinkingLevel"] == "high"+ assert result["thinkingConfig"]["thinkingLevel"] == "medium"assert result["thinkingConfig"]["includeThoughts"] is True# Test high -> high + includeThoughts=True@@ -2061,7 +2061,7 @@ def test_reasoning_effort_dict_format_gemini_3():model=model,drop_params=False,)- assert result["thinkingConfig"]["thinkingLevel"] == "high"+ assert result["thinkingConfig"]["thinkingLevel"] == "medium"assert result["thinkingConfig"]["includeThoughts"] is True# Test dict format without effort key - should fall back to Gemini 3 default (low)