mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
(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
|
# since boto3 - sagemaker does not support async calls, we should use a sync data_generator
|
||||||
if hasattr(
|
if hasattr(
|
||||||
response, "custom_llm_provider"
|
response, "custom_llm_provider"
|
||||||
) and response.custom_llm_provider in ["sagemaker", "bedrock"]:
|
) and response.custom_llm_provider in ["sagemaker"]:
|
||||||
return data_generator(
|
return data_generator(
|
||||||
response=response,
|
response=response,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue