forked from phoenix/litellm-mirror
(fix) undo today's mistake where bedrock was async
This commit is contained in:
parent
727f3e523f
commit
afd0d7cb41
1 changed files with 1 additions and 1 deletions
|
@ -1866,7 +1866,7 @@ def select_data_generator(response, user_api_key_dict):
|
|||
# since boto3 - sagemaker does not support async calls, we should use a sync data_generator
|
||||
if hasattr(
|
||||
response, "custom_llm_provider"
|
||||
) and response.custom_llm_provider in ["sagemaker", "bedrock"]:
|
||||
) and response.custom_llm_provider in ["sagemaker"]:
|
||||
return data_generator(
|
||||
response=response,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue