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: use correct class name AmazonConverseConfig in helper method calls
Julio Quinteros Profdf4c9dbdcb9
diff --git a/litellm/llms/bedrock/chat/converse_transformation.py b/litellm/llms/bedrock/chat/converse_transformation.pyindex 905c8453ef2..d210f294c64 100644--- a/litellm/llms/bedrock/chat/converse_transformation.py+++ b/litellm/llms/bedrock/chat/converse_transformation.py@@ -1842,7 +1842,7 @@ class AmazonConverseConfig(BaseConfig):"arguments")if json_mode_content_str is not None:- json_mode_content_str = BedrockConverseConfig._unwrap_bedrock_properties(+ json_mode_content_str = AmazonConverseConfig._unwrap_bedrock_properties(json_mode_content_str)chat_completion_message["content"] = json_mode_content_str@@ -1854,7 +1854,7 @@ class AmazonConverseConfig(BaseConfig):first_idx = json_tool_indices[0]json_mode_args = tools[first_idx]["function"].get("arguments")if json_mode_args is not None:- json_mode_args = BedrockConverseConfig._unwrap_bedrock_properties(+ json_mode_args = AmazonConverseConfig._unwrap_bedrock_properties(json_mode_args)existing = chat_completion_message.get("content") or ""