add handler for disconnect-bot message
This commit is contained in:
committed by
Mark Backman
parent
53f675f5cf
commit
5d7b3f2b38
@@ -743,6 +743,8 @@ class RTVIProcessor(FrameProcessor):
|
||||
case "update-config":
|
||||
update_config = RTVIUpdateConfig.model_validate(message.data)
|
||||
await self._handle_update_config(message.id, update_config)
|
||||
case "disconnect-bot":
|
||||
await self.push_frame(EndFrame())
|
||||
case "action":
|
||||
action = RTVIActionRun.model_validate(message.data)
|
||||
action_frame = RTVIActionFrame(message_id=message.id, rtvi_action_run=action)
|
||||
|
||||
Reference in New Issue
Block a user