(fix) streaming logprobs=None
This commit is contained in:
parent
2070a785a4
commit
ef074c707a
@ -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…
Reference in New Issue
Block a user