forked from phoenix/litellm-mirror
fix(utils.py): fix text completion streaming
This commit is contained in:
parent
9e1e97528d
commit
dc2c4af631
2 changed files with 2 additions and 2 deletions
|
@ -8899,7 +8899,6 @@ class CustomStreamWrapper:
|
|||
if data_json["choices"][0].get("finish_reason", None):
|
||||
is_finished = True
|
||||
finish_reason = data_json["choices"][0]["finish_reason"]
|
||||
self.sent_last_chunk = True
|
||||
print_verbose(
|
||||
f"text: {text}; is_finished: {is_finished}; finish_reason: {finish_reason}"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue