encode bedrock model id
Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>
This commit is contained in:
parent
60d3cb10bc
commit
12e730885b
@ -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…
Reference in New Issue
Block a user