Skip to content

fix(core): reset user away timer on final STT transcript AGT-3149#6478

Merged
chenghao-mou merged 1 commit into
mainfrom
chenghao/agt-3149-reset-away-on-final-transcript
Jul 18, 2026
Merged

fix(core): reset user away timer on final STT transcript AGT-3149#6478
chenghao-mou merged 1 commit into
mainfrom
chenghao/agt-3149-reset-away-on-final-transcript

Conversation

@chenghao-mou

@chenghao-mou chenghao-mou commented Jul 18, 2026

Copy link
Copy Markdown
Member

VAD can miss speech while STT still emits a final transcript. In that case the user stays listening, so the away timer kept counting down and could fire despite recent STT activity. Observed from a user session where short utterance was ignored by the timer.

On a final transcript when the user is not already speaking, refresh user_away_timeout without changing user state. The existing awaylistening recovery path is unchanged.

Made with Cursor

When VAD misses speech, STT can still emit a final transcript while the
user stays listening; refresh the away timeout without changing state.

Co-authored-by: Cursor <cursoragent@cursor.com>
@chenghao-mou
chenghao-mou requested a review from a team as a code owner July 18, 2026 11:30

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@davidzhao davidzhao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lg

@chenghao-mou
chenghao-mou merged commit c57fc00 into main Jul 18, 2026
27 checks passed
@chenghao-mou
chenghao-mou deleted the chenghao/agt-3149-reset-away-on-final-transcript branch July 18, 2026 20:45
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.

3 participants