aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authordavid <[email protected]>2026-10-16 05:21:51 -0300
committerdavid <[email protected]>2026-10-16 05:21:51 -0300
commitf09ff1d585825f663d0aae0dce26e1c2137182e5 (patch)
tree6a5d0bdf604a562571d17f172aeb783374e7d095 /main.py
parent9fdb5f52e4ebc99cdf214e578afa201b10c728fb (diff)
downloadfaggot-chan-f09ff1d585825f663d0aae0dce26e1c2137182e5.tar.gz
faggot-chan-f09ff1d585825f663d0aae0dce26e1c2137182e5.zip
this is why i use claude version 2
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
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/")]