(fix) stream_chunk_builder

This commit is contained in:
ishaan-jaff 2023-11-01 14:53:09 -07:00
parent 3fecab30d8
commit 863867fe00

View file

@ -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 = []