mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(bedrock_httpx.py): move bedrock ai21 calls to being async
This commit is contained in:
parent
180bc46ca4
commit
0293f7766a
5 changed files with 88 additions and 71 deletions
|
@ -11510,7 +11510,11 @@ class CustomStreamWrapper:
|
|||
or self.custom_llm_provider == "predibase"
|
||||
or (
|
||||
self.custom_llm_provider == "bedrock"
|
||||
and ("cohere" in self.model or "anthropic" in self.model)
|
||||
and (
|
||||
"cohere" in self.model
|
||||
or "anthropic" in self.model
|
||||
or "ai21" in self.model
|
||||
)
|
||||
)
|
||||
or self.custom_llm_provider in litellm.openai_compatible_endpoints
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue