Conversation and web: closings by context, follow-up lookups keep the name and place, office holders and prices looked up; reach toward the person; bottles by their body (belly grasp only); music never a turn (speech detector); songs: a promise is done; two-stop drives in the Command box

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 14:07:56 +09:00
co-authored by Claude Opus 5.5
parent 9cd8e5706b
commit 88a5349b04
34 changed files with 838 additions and 491 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ def llm_route(action, target, words, text, about, lang, repeating=False):
return action, "" # lumi.answer() closes the stream and looks it up
if action == "unclear":
return action, " ".join(words)
if action == "none" and lumi.talk_fate(text) == "close": # "thanks" taken as heard: silence ends the talk
return "chat", " ".join(words)
if lumi.talk_fate(text) == "close" and (action == "none" or action == "end" and not lumi.kept_goodbye(" ".join(words))):
return "chat", " ".join(words) # "thanks" taken as heard: silence ends the talk
if action in ("none", "sing") and not repeating and lumi.look_up_unsure(about, words[0] if words else "", text):
return "search(unsure)", " ".join(words)
return ("none" if action == "none" else f"action:{action} {target}".strip()), " ".join(words)