forked from phoenix/litellm-mirror
Added watsonx to stream wrapper __anext__
This commit is contained in:
parent
e2827ee28b
commit
c041b75143
1 changed files with 1 additions and 0 deletions
|
@ -9736,6 +9736,7 @@ class CustomStreamWrapper:
|
||||||
or self.custom_llm_provider == "predibase"
|
or self.custom_llm_provider == "predibase"
|
||||||
or self.custom_llm_provider == "databricks"
|
or self.custom_llm_provider == "databricks"
|
||||||
or self.custom_llm_provider == "bedrock"
|
or self.custom_llm_provider == "bedrock"
|
||||||
|
or self.custom_llm_provider == "watsonx"
|
||||||
or self.custom_llm_provider in litellm.openai_compatible_endpoints
|
or self.custom_llm_provider in litellm.openai_compatible_endpoints
|
||||||
):
|
):
|
||||||
async for chunk in self.completion_stream:
|
async for chunk in self.completion_stream:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue