From dffe616267d78ef73fcec09fb035f3e5e6d59256 Mon Sep 17 00:00:00 2001 From: Jack Collins <6640905+jackmpcollins@users.noreply.github.com> Date: Sun, 5 May 2024 18:51:53 -0700 Subject: [PATCH] Make newline same in async function --- litellm/llms/ollama_chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/llms/ollama_chat.py b/litellm/llms/ollama_chat.py index 45aab0f959..866761905f 100644 --- a/litellm/llms/ollama_chat.py +++ b/litellm/llms/ollama_chat.py @@ -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":