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 paranthesis:
Sameer Kankutea34f7e483112
diff --git a/litellm/llms/openai/chat/gpt_5_transformation.py b/litellm/llms/openai/chat/gpt_5_transformation.pyindex 4fa45284df2..8522a97a387 100644--- a/litellm/llms/openai/chat/gpt_5_transformation.py+++ b/litellm/llms/openai/chat/gpt_5_transformation.py@@ -200,7 +200,9 @@ class OpenAIGPT5Config(OpenAIGPTConfig):if "reasoning_effort" in optional_params:optional_params["reasoning_effort"] = normalized- if effective_effort is not None and effective_effort == "xhigh" or effective_effort == "minimal":+ if effective_effort is not None and (+ effective_effort == "xhigh" or effective_effort == "minimal"+ ):if not self._supports_reasoning_effort_level(model, effective_effort):if litellm.drop_params or drop_params:non_default_params.pop("reasoning_effort", None)