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: fix linting errors
Krrish Dholakia7d8135f01e0e
diff --git a/litellm/llms/bedrock/chat/invoke_agent/transformation.py b/litellm/llms/bedrock/chat/invoke_agent/transformation.pyindex 92e72a594a0..db292bfa43f 100644--- a/litellm/llms/bedrock/chat/invoke_agent/transformation.py+++ b/litellm/llms/bedrock/chat/invoke_agent/transformation.py@@ -429,7 +429,8 @@ class AmazonInvokeAgentConfig(BaseConfig, BaseAWSLLM):return Nonemodel_invocation: Optional[InvokeAgentModelInvocationInput] = (- orchestration_trace.get("modelInvocationInput", {})+ orchestration_trace.get("modelInvocationInput")+ or InvokeAgentModelInvocationInput())if not model_invocation:return None