Skip to content

feat(voice): reuse STT connection across agent handoffs#5093

Open
longcw wants to merge 4 commits intomainfrom
longc/reuse-stt-on-agent-handoff
Open

feat(voice): reuse STT connection across agent handoffs#5093
longcw wants to merge 4 commits intomainfrom
longc/reuse-stt-on-agent-handoff

Conversation

@longcw
Copy link
Contributor

@longcw longcw commented Mar 12, 2026

close #4123

@chenghao-mou chenghao-mou requested a review from a team March 12, 2026 04:26
devin-ai-integration[bot]

This comment was marked as resolved.

if self.stt is None or new_activity.stt is None:
return False
return (
type(self.agent).stt_node is type(new_activity.agent).stt_node
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also check for tts, vad, as well as other configurations?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vad is always updated, the tts and llm streams are created per turn so no need to reuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persistent STT stream

2 participants