From 8453dc76afe5d879e5dab6b17b36ffd11a2c07a2 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 11 Jun 2026 17:11:42 -0600 Subject: [PATCH] Formatting --- frigate/api/chat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frigate/api/chat.py b/frigate/api/chat.py index 428d23cb79..f523d9991c 100644 --- a/frigate/api/chat.py +++ b/frigate/api/chat.py @@ -1336,9 +1336,9 @@ async def chat_completion( async def stream_body() -> Any: yield ( - json.dumps( - {"type": "messages", "messages": chain} - ).encode("utf-8") + json.dumps({"type": "messages", "messages": chain}).encode( + "utf-8" + ) + b"\n" ) # Emit the full reasoning trace up front when the