pipecat-ai / pipecat

Open Source framework for voice and multimodal conversational AI
BSD 2-Clause "Simplified" License
3.47k stars 341 forks source link

add handler for disconnect-bot message #697

Closed Regaddi closed 1 week ago

Regaddi commented 3 weeks ago

Please describe the changes in your PR. If it is addressing an issue, please reference that as well.

This handles a new RTVIMessage of type disconnect-bot. This allows bot-to-human hand-over scenarios, while re-using the existing transport session. The RTVI Client counterpart can be found at https://github.com/pipecat-ai/rtvi-client-web/pull/76