forked from phoenix/litellm-mirror
(fix) proxy - use bedrock in sync streaming
This commit is contained in:
parent
525b0dc4fd
commit
757334c85f
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"]:
|
||||
) and response.custom_llm_provider in ["sagemaker", "bedrock"]:
|
||||
return data_generator(
|
||||
response=response,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue