From a483f1a083d7d97e932c680fa542c78926dba1a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Tue, 24 Sep 2024 10:48:15 -0700 Subject: [PATCH] rtvi: handle all actions from the action task --- src/pipecat/processors/frameworks/rtvi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pipecat/processors/frameworks/rtvi.py b/src/pipecat/processors/frameworks/rtvi.py index bb23c9856..49095b2e4 100644 --- a/src/pipecat/processors/frameworks/rtvi.py +++ b/src/pipecat/processors/frameworks/rtvi.py @@ -521,7 +521,8 @@ class RTVIProcessor(FrameProcessor): await self._handle_update_config(message.id, update_config) case "action": action = RTVIActionRun.model_validate(message.data) - await self._handle_action(message.id, action) + action_frame = RTVIActionFrame(message_id=message.id, rtvi_action_run=action) + await self._action_queue.put(action_frame) case "llm-function-call-result": data = RTVILLMFunctionCallResultData.model_validate(message.data) await self._handle_function_call_result(data)