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
fixes: #4947 Bedrock context exception does not have a response
David Leenebca13b2ca03
diff --git a/litellm/utils.py b/litellm/utils.pyindex 411d2509d5f..cbe3d840898 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -6845,7 +6845,6 @@ def exception_type(message=f"BedrockException: Context Window Error - {error_str}",model=model,llm_provider="bedrock",- response=original_exception.response,)elif "Malformed input request" in error_str:exception_mapping_worked = True