mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(fix) stream_chunk_builder
This commit is contained in:
parent
b991152b85
commit
ad1afd7d36
1 changed files with 1 additions and 0 deletions
|
@ -1933,6 +1933,7 @@ def stream_chunk_builder(chunks: list):
|
||||||
|
|
||||||
# Extract the "content" strings from the nested dictionaries within "choices"
|
# Extract the "content" strings from the nested dictionaries within "choices"
|
||||||
content_list = []
|
content_list = []
|
||||||
|
combined_content = ""
|
||||||
|
|
||||||
if "function_call" in chunks[0]["choices"][0]["delta"]:
|
if "function_call" in chunks[0]["choices"][0]["delta"]:
|
||||||
argument_list = []
|
argument_list = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue