mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(fix) stream_chunk_builder
This commit is contained in:
parent
3fecab30d8
commit
863867fe00
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"
|
||||
content_list = []
|
||||
combined_content = ""
|
||||
|
||||
if "function_call" in chunks[0]["choices"][0]["delta"]:
|
||||
argument_list = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue