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

+4
View File
@@ -30,6 +30,10 @@ from .base import GatewayAdapter, InboundMessage, OutboundMessage
class VoiceAdapter(GatewayAdapter):
name = "voice"
#: Speak the skill's result line only — the spoken front end should not read
#: out queue/urgency bookkeeping or the `<skill>: ok —` wrapper. Override
#: with `gateway.voice.result_only: false` for the full scheduler output.
result_only = True
def __init__(self, cfg: dict | None = None, trace=None):
cfg = cfg or {}