mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
Make newline same in async function
This commit is contained in:
parent
c217a07d5e
commit
dffe616267
1 changed files with 1 additions and 0 deletions
|
|
@ -395,6 +395,7 @@ async def ollama_async_streaming(
|
|||
custom_llm_provider="ollama_chat",
|
||||
logging_obj=logging_obj,
|
||||
)
|
||||
|
||||
# If format is JSON, this was a function call
|
||||
# Gather all chunks and return the function call as one delta to simplify parsing
|
||||
if data.get("format", "") == "json":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue