Improve pick and put from the side, quick answers and Korean command understanding

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 00:21:00 +09:00
co-authored by Claude Opus 5.5
parent 1b3f4568e1
commit d72eb52f66
39 changed files with 4853 additions and 294 deletions
+3
View File
@@ -1477,6 +1477,9 @@ def answer(text, lang="en", frames=None, slow_line=None):
elif _last["thing"] is None or last not in SEE_KINDS or re.search(r"\bit\s+(?:to|from)\b", t, re.I) or \
not (IT.search(t) or FAR_BARE.match(t)):
return None # "how far is Seoul?": not about the cameras
from assistant import quick_answers
if not last and quick_answers.kind_of(text):
return None # "머리에 컴퓨터 있어?", "Is it safe to stand next to you?": a fact
_last["kind"], _last["asked"], _last["at"] = kind, (kind, t), time.time()
frames = _look(frames, asked_at)
if not frames: