[Agent] Add streaming support for SpeechAgent#1990
Open
Guikingone wants to merge 2 commits into
Open
Conversation
5aa4211 to
9e3b75b
Compare
SpeechAgent
03c7235 to
183e0ec
Compare
183e0ec to
3f731ba
Compare
Introduces CancellableInterface, StreamResult::cancel(), Event::stop() and the SpeechConfiguration::$ttsStream flag, allowing SpeechAgent to return a cancellable StreamResult of audio chunks for barge-in patterns.
df84974 to
da72328
Compare
The original commit only mentioned ElevenLabs in prose. List every speech-capable bridge currently on main with its actual streaming status so users do not mistakenly enable `ttsStream` on a bridge that returns a buffered BinaryResult.
da72328 to
79cf920
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces
CancellableInterface,StreamResult::cancel(),Event::stop()and theSpeechConfiguration::$ttsStreamflag, allowingSpeechAgentto return a cancellableStreamResultof audio chunks for barge-in patterns.