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
temporarily relax ResponsesAPIResponse parsing to support custom backends (#15362)
ashengstd2686156c379e
diff --git a/litellm/llms/openai/responses/transformation.py b/litellm/llms/openai/responses/transformation.pyindex e5e89cd8bc6..4c82a35c119 100644--- a/litellm/llms/openai/responses/transformation.py+++ b/litellm/llms/openai/responses/transformation.py@@ -169,7 +169,7 @@ class OpenAIResponsesAPIConfig(BaseResponsesAPIConfig):raise OpenAIError(message=raw_response.text, status_code=raw_response.status_code)- return ResponsesAPIResponse(**raw_response_json)+ return ResponsesAPIResponse.model_construct(**raw_response_json)def validate_environment(self, headers: dict, model: str, litellm_params: Optional[GenericLiteLLMParams]