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]

test: drop the internal patch from the gpt-6-astra bridge test

mateo-berri108f55894652
diff --git a/tests/test_litellm/test_main.py b/tests/test_litellm/test_main.py
index c9acbe2d884..2df1c2f4ca5 100644
--- a/tests/test_litellm/test_main.py
+++ b/tests/test_litellm/test_main.py
@@ -787,13 +787,11 @@ def test_responses_api_bridge_check_gpt_5_4_tools_plus_reasoning_routes_to_respo
def test_responses_api_bridge_check_gpt_6_astra_tools_with_default_reasoning_routes_to_responses():
from litellm.main import responses_api_bridge_check
- with patch("litellm.main._get_model_info_helper") as mock_get_model_info:
- mock_get_model_info.return_value = {"max_tokens": 128000}
- model_info, model = responses_api_bridge_check(
- model="gpt-6-astra",
- custom_llm_provider="openai",
- tools=[{"type": "function", "function": {"name": "get_capital"}}],
- )
+ model_info, model = responses_api_bridge_check(
+ model="gpt-6-astra",
+ custom_llm_provider="openai",
+ tools=[{"type": "function", "function": {"name": "get_capital"}}],
+ )
assert model == "gpt-6-astra"
assert model_info.get("mode") == "responses"