forked from phoenix/litellm-mirror
fix(main.py): fix linting errors
This commit is contained in:
parent
e8331a4647
commit
be9fa06da6
2 changed files with 3 additions and 2 deletions
|
@ -2108,6 +2108,7 @@ def stream_chunk_builder(chunks: list, messages: Optional[list]=None):
|
|||
# Extract the "content" strings from the nested dictionaries within "choices"
|
||||
content_list = []
|
||||
combined_content = ""
|
||||
combined_arguments = ""
|
||||
|
||||
if "tool_calls" in chunks[0]["choices"][0]["delta"] and chunks[0]["choices"][0]["delta"]["tool_calls"] is not None:
|
||||
argument_list = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue