Improve command understanding with bigger wording banks; tested

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 05:43:03 +09:00
co-authored by Claude Opus 5.5
parent f1f63d0794
commit 38546b0ca3
36 changed files with 3820 additions and 271 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ def route(lang, ctx, said):
first = next(gen, "")
secs = time.time() - t
reply = " ".join([first] + list(gen))
if head["action"] == "end" and (fate != "close" or lumi.kept_goodbye(reply)): # as lumi.answer
if head["action"] == "end" and (fate != "close" or lumi.kept_goodbye(reply)) or \
head["action"] == "none" and fate == "close" and lumi.kept_goodbye(reply): # as lumi.answer
return "end", secs, reply
return ("wait" if fate == "close" else "on"), secs, reply