From 863867fe00feaccddcdc46230083caddcf860c80 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Wed, 1 Nov 2023 14:53:09 -0700 Subject: [PATCH] (fix) stream_chunk_builder --- litellm/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/main.py b/litellm/main.py index aec51938d0c..ab8548bc7bb 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -1933,6 +1933,7 @@ def stream_chunk_builder(chunks: list): # Extract the "content" strings from the nested dictionaries within "choices" content_list = [] + combined_content = "" if "function_call" in chunks[0]["choices"][0]["delta"]: argument_list = []