From 60268f16961eac615519f2c6387994bfc5cb8980 Mon Sep 17 00:00:00 2001 From: a-holm Date: Sat, 15 Mar 2025 09:48:52 +0100 Subject: [PATCH] reformat with precommit --- app/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/llm.py b/app/llm.py index d997a69..24a50e0 100644 --- a/app/llm.py +++ b/app/llm.py @@ -90,7 +90,7 @@ class LLM: # If message is a dict, ensure it has required fields if "role" not in message: raise ValueError("Message dict must contain 'role' field") - if "content" in message or "tool_calls" in message: + if "content" in message or "tool_calls" in message: formatted_messages.append(message) # else: do not include the message else: