forked from phoenix/litellm-mirror
(fix) streaming logprobs=None
This commit is contained in:
parent
2070a785a4
commit
ef074c707a
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