Skip to content

Let the user to interrupt and takevore Conversation #10

@llamaonsecurity

Description

@llamaonsecurity

Problem Description

Currently, once a prompt audio stream begins playing, the user has no way to cancel or interrupt the playback. This presents multiple issues during development and testing:

  • Blocking flow: If the prompt audio is long, it prevents the user from speaking or interacting further until it finishes.
  • Debugging difficulty: Developers need to wait for the audio to complete before trying new inputs or inspecting reactions.
  • No fallback path: Even if the intent changes mid-stream, the system remains locked until the playback ends.

Image

Proposed Solution

We need to implement a cancel mechanism that allows the user (or the system) to stop the audio stream at any time, with the following behavior:

  • Cancel prompt audio stream immediately.
  • Fallback to microphone input so that the user can speak without waiting for the prompt to finish

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions