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
Merge branch 'main' into litellm_fix_responses_bridge_gpr-5.4
Sameer Kankute6c3e03664837
diff --cc litellm/main.pyindex 395a8b08387,5a1b7f0fe16..3b1f5dc96f5--- a/litellm/main.py+++ b/litellm/main.py@@@ -1598,10 -1605,22 +1612,22 @@@ def completion( # type: ignore # noqatimeout=timeout,)+ ## RESPONSES API BRIDGE LOGIC ## - check if model has 'mode: responses' in litellm.model_cost map+ model_info, model = responses_api_bridge_check(+ model=model,+ custom_llm_provider=custom_llm_provider,+ web_search_options=web_search_options,+ tools=tools,+ reasoning_effort=reasoning_effort,+ )- if model_info.get("mode") == "responses":+ if responses_api_model_info.get("mode") == "responses":from litellm.completion_extras import responses_api_bridge+ if isinstance(reasoning_effort, dict) and "summary" in reasoning_effort:+ optional_params = dict(optional_params)+ optional_params["reasoning_effort"] = reasoning_effort+return responses_api_bridge.completion(model=model,messages=messages,