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
encode bedrock model id
omrishiv12e730885bd3
diff --git a/litellm/llms/bedrock/chat/converse_handler.py b/litellm/llms/bedrock/chat/converse_handler.pyindex b70c15b3e1f..d45ab40c4bd 100644--- a/litellm/llms/bedrock/chat/converse_handler.py+++ b/litellm/llms/bedrock/chat/converse_handler.py@@ -274,7 +274,7 @@ class BedrockConverseLLM(BaseAWSLLM):if modelId is not None:modelId = self.encode_model_id(model_id=modelId)else:- modelId = model+ modelId = self.encode_model_id(model_id=model)if stream is True and "ai21" in modelId:fake_stream = True