fix: relay confirmation interrupts past muted input
This commit is contained in:
@@ -1093,16 +1093,6 @@ class WorkflowBrain(BaseBrain):
|
||||
),
|
||||
)
|
||||
if result.succeeded:
|
||||
if (
|
||||
completion_policy == MESSAGE_CONFIRMATION
|
||||
and result.action == "confirmed"
|
||||
):
|
||||
if runtime.wait_for_output_stopped is None:
|
||||
raise RuntimeError("当前管线不支持等待 Message 确认语音停止")
|
||||
# ClientToolBroker has already broadcast the interruption
|
||||
# before resolving the confirmation. Keep the next node behind
|
||||
# the pipeline and transport playback boundaries.
|
||||
await runtime.wait_for_output_stopped()
|
||||
await self._emit_trace(
|
||||
"message_completed",
|
||||
nodeId=node_id,
|
||||
|
||||
Reference in New Issue
Block a user