voice gateway returns skill result only

This commit is contained in:
gabby committed 2026-10-06 05:55:07 +00:00
1 parent 172e61e6be
commit e8d1685177
8 files changed
+138 -11

No files matched your search

+6
View File
@@ -51,6 +51,12 @@ class GatewayAdapter(ABC):
#: short platform name used in request sources (`"simplex:<chat_id>"`)
name: str = "gateway"
#: Spoken front ends (the voice gateway) set this so the service speaks only
#: the skill's result line, not the scheduler's bookkeeping (queue/urgency
#: status) and not the `<skill>: ok —` wrapper. A per-platform config
#: `result_only` overrides it. Plain chat adapters leave it False.
result_only: bool = False
@abstractmethod
def check_requirements(self) -> tuple[bool, str | None]:
"""Return `(ok, install_hint)`. Must never raise on a missing dep."""