Follow me: steady 10 Hz control with prediction between sightings, one kept-open base connection, head tracks on its own thread, the followed person kept by position and clothes; Lumi: no fate error, cut-off sentences joined, no promise without its action, song bank only on song words

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 15:23:57 +09:00
co-authored by Claude Opus 5.5
parent 08e748e5ed
commit 4ab14b3af3
12 changed files with 450 additions and 125 deletions
+2 -2
View File
@@ -94,8 +94,8 @@ def llm(text, state, marks, b):
head = next(gen)
first = next(gen, "") or ""
gen.close()
if head["action"] == "none" and brain.promised(first): # lumi.answer() does what the reply promises
head = {"action": brain.promised(first), "target": ""}
if head["action"] == "none" and brain.promised(first) in ("sing", "wave"): # lumi.answer() does what the reply
head = {"action": brain.promised(first), "target": ""} # promises (a move: it asks)
target = (brain._mentions(text, marks).get("object") or "") if head["action"] == "receive" else head["target"]
return act(head["action"], target, first, state), f"{head['action']} {target}".strip(), first