voice gateway returns skill result only
This commit is contained in:
1 parent
172e61e6be
commit
e8d1685177
8 files changed
+138
-11
No files matched your search
@@ -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 {}
|
||||
|
||||
Reference in new issue
Block a user