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]

Fix GPT-5 reasoning summary strip test path

Cursor Agent1628886f4a35
diff --git a/tests/test_litellm/llms/openai/test_gpt5_transformation.py b/tests/test_litellm/llms/openai/test_gpt5_transformation.py
index 840f2c75fde..d279b119efe 100644
--- a/tests/test_litellm/llms/openai/test_gpt5_transformation.py
+++ b/tests/test_litellm/llms/openai/test_gpt5_transformation.py
@@ -1031,7 +1031,6 @@ def test_gpt5_chat_strips_reasoning_summary_aliases_after_bridge_check(
litellm.completion(
model="gpt-5",
messages=[{"role": "user", "content": "ok"}],
- reasoning_effort="medium",
reasoningSummary="auto",
extra_body={"reasoning_summary": "ignored", "metadata": "ok"},
api_key="fake-key",