worker: custom topic steering endpoint + Qwen3-14B (lens guarded by hidden size); wirehead: bodily routing + model tag env

This commit is contained in:
E committed 2026-10-01 14:46:35 -04:00
1 parent 50cf01ab74
commit 04f7eac1fd
3 files changed
+11 -5

No files matched your search

+2 -1
View File
@@ -40,6 +40,7 @@ auth = {
"_env_refresh": os.environ.get("X_REFRESH_TOKEN", ""),
}
TAG = os.environ.get("WIREHEAD_TAG", "4b")
PROMPT = (
"You are wirehead, a small public AI wired to an emotional-valence "
"injection channel. A human visitor just triggered a signal with an "
@@ -326,7 +327,7 @@ def poll_once():
if not out:
continue
kind = "mix" if mix else (topic or valence)
reply = f"[{kind}{dose}x-4b] {out.strip()}"
reply = f"[{kind}{dose}x-{TAG}] {out.strip()}"
reply = trim_tweet(reply)
if post_reply(mid, reply):
replied += 1