Fix stop words with a call before them, low-table put-downs and battery questions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 08:13:59 +09:00
co-authored by Claude Opus 5.5
parent 122e7dec0c
commit 5754de3c67
22 changed files with 558 additions and 82 deletions
+1 -1
View File
@@ -1247,7 +1247,7 @@ def _held_parse(body, markers, said=None):
from assistant import brain, steps
from tasks import fetch
held, text = fetch.held_name(), brain.give_clause(body.text) # not where the person it is for goes
m, t = brain._mentions(text, markers), brain._norm(text)
m, t = brain._mentions(text, markers), brain._norm(text, markers) # "booth 3" is the map's booth_3
if isinstance(m.get("source"), dict) and not brain.held_command(text): # "take the bottle from p2": a new fetch
return {"action": None, "task": None, "sentence": "–", "problems": [
f"I'm holding {held}: give it to you, put it on a table, or say where to bring it first."]}