mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(fix) streaming logprobs=None
This commit is contained in:
parent
6f695838e5
commit
99c86bf890
1 changed files with 1 additions and 0 deletions
|
@ -6705,6 +6705,7 @@ class CustomStreamWrapper:
|
|||
text = ""
|
||||
is_finished = False
|
||||
finish_reason = None
|
||||
logprobs = None
|
||||
original_chunk = None # this is used for function/tool calling
|
||||
if len(str_line.choices) > 0:
|
||||
if str_line.choices[0].delta.content is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue