From ef074c707a3f745bc4554954ea26518ad355296c Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 26 Dec 2023 15:42:41 +0530 Subject: [PATCH] (fix) streaming logprobs=None --- litellm/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/utils.py b/litellm/utils.py index 260bd8d6a..a23daa809 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -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: