dsh: honor explicit 'ask/hey jervis' addressing in home gate (direct target = route to Jervis)
This commit is contained in:
@@ -147,6 +147,8 @@ def _looks_homeish(msg: str) -> bool:
|
|||||||
fish, time/weather). Jervis decides answer-vs-act and speaks confirmations."""
|
fish, time/weather). Jervis decides answer-vs-act and speaks confirmations."""
|
||||||
m = (msg or "").lower()
|
m = (msg or "").lower()
|
||||||
return any(h in m for h in (
|
return any(h in m for h in (
|
||||||
|
# direct address (explicit target) — "ask jervis …", "hey jervis …", "jervis, …"
|
||||||
|
"ask jervis", "hey jervis", "jervis,", "jervis ",
|
||||||
# speak / announce
|
# speak / announce
|
||||||
"announce", "speak", "speaker", "shout", "out loud",
|
"announce", "speak", "speaker", "shout", "out loud",
|
||||||
"say on ", "say over ", "say through ", "on the speakers",
|
"say on ", "say over ", "say through ", "on the speakers",
|
||||||
|
|||||||
Reference in New Issue
Block a user