From 1dd8107ea354ecd9db4afa0e12dca39dca47ef28 Mon Sep 17 00:00:00 2001 From: E Date: Fri, 2 Oct 2026 09:30:14 -0400 Subject: [PATCH] wirehead: drop scaffold echo from replies; 8B endpoint --- scripts/wirehead/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/wirehead/main.py b/scripts/wirehead/main.py index 0158ae7..c8142de 100644 --- a/scripts/wirehead/main.py +++ b/scripts/wirehead/main.py @@ -329,8 +329,11 @@ def poll_once(): if not out: log("worker returned nothing for", mid, "- will retry next poll") continue + # the steered model sometimes echoes prompt scaffold lines first; + # only the final paragraph is the actual reply + body = out.strip().rsplit("\n\n", 1)[-1].strip() kind = "mix" if mix else (topic or valence) - reply = f"[{kind}{dose}x-{TAG}] {out.strip()}" + reply = f"[{kind}{dose}x-{TAG}] {body}" reply = trim_tweet(reply) if post_reply(mid, reply): replied += 1