forked from phoenix/litellm-mirror
(fix) palm: streaming
This commit is contained in:
parent
533b93f714
commit
3a4e512a75
1 changed files with 1 additions and 0 deletions
|
@ -5232,6 +5232,7 @@ class CustomStreamWrapper:
|
|||
time.sleep(0.05)
|
||||
elif self.custom_llm_provider == "palm":
|
||||
# fake streaming
|
||||
response_obj = {}
|
||||
if len(self.completion_stream)==0:
|
||||
if self.sent_last_chunk:
|
||||
raise StopIteration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue