mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(main.py): fix linting errors
This commit is contained in:
parent
5450fb26f4
commit
91e8ff439d
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