From 12e730885bd3948543dca902293f461c1bc4fb60 Mon Sep 17 00:00:00 2001 From: omrishiv <327609+omrishiv@users.noreply.github.com> Date: Mon, 10 Mar 2025 20:14:35 -0700 Subject: [PATCH] encode bedrock model id Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com> --- litellm/llms/bedrock/chat/converse_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/bedrock/chat/converse_handler.py b/litellm/llms/bedrock/chat/converse_handler.py index b70c15b3e1..d45ab40c4b 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