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(tests): correct medium reasoning_effort assertion for gemini-3-pro-preview
Julio Quinteros Pro87577eb05cbd
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 bef3a69bb90..6047da66b6d 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"] == "medium"+ assert result["thinkingConfig"]["thinkingLevel"] == "high"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"] == "medium"+ assert result["thinkingConfig"]["thinkingLevel"] == "high"assert result["thinkingConfig"]["includeThoughts"] is True# Test dict format without effort key - should fall back to Gemini 3 default (low)