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: