From f09ff1d585825f663d0aae0dce26e1c2137182e5 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 16 Oct 2026 05:21:51 -0300 Subject: this is why i use claude version 2 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index 3613d12..9e8d4e1 100644 --- a/main.py +++ b/main.py @@ -173,7 +173,7 @@ async def ollamachat(websocket): messages.append({"role": "user", "content": "\n".join(current_user_lines)}) # final isolated turn — the specific message she needs to reply to - messages.append({"role": "user", "content": f"[responding to]: "{nots(user_input)}) + messages.append({"role": "user", "content": f"[responding to]: {nots(user_input)}"}) # ollama only takes images (no audio/video/pdf), and only on the final turn so history stays text images = [base64.b64decode(m["data"]) for m in media if m["mime_type"].startswith("image/")] -- cgit v1.3-2-g0d8e