fix(bedrock_httpx.py): move anthropic bedrock calls to httpx

Fixing https://github.com/BerriAI/litellm/issues/2921
This commit is contained in:
Krrish Dholakia 2024-05-16 21:51:55 -07:00
parent b639e9598b
commit 118fc4ffac
7 changed files with 298 additions and 56 deletions

View file

@ -21,7 +21,7 @@ class BaseLLM:
messages: list,
print_verbose,
encoding,
) -> litellm.utils.ModelResponse:
) -> Union[litellm.utils.ModelResponse, litellm.utils.CustomStreamWrapper]:
"""
Helper function to process the response across sync + async completion calls
"""