mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
encode bedrock model id
Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>
This commit is contained in:
parent
60d3cb10bc
commit
12e730885b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue