Make newline same in async function

This commit is contained in:
Jack Collins
2024-05-05 18:51:53 -07:00
parent c217a07d5e
commit dffe616267
+1
View File
@@ -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":