Skip to content

fix: emit completed tool events after interruption - #6823

Open
chenghao-mou wants to merge 1 commit into
mainfrom
chenghao/fix/AGT-3283-emit-tool-event-after-interruption
Open

fix: emit completed tool events after interruption#6823
chenghao-mou wants to merge 1 commit into
mainfrom
chenghao/fix/AGT-3283-emit-tool-event-after-interruption

Conversation

@chenghao-mou

Copy link
Copy Markdown
Member

Problem: Completed non-handoff tool results survived parent speech interruption, but function_tools_executed was skipped. Event listeners could not speak or process those results.

Emit the event for the same safe outputs already committed by interruption recovery. Keep interrupted handoffs excluded so they remain retryable. Add a regression covering the listener's uninterruptible session.say.

Addresses AGT-3283

Initial prompt and agent context

Model: GPT-5.6

if I have a say call with allow_interruptions=False in a event handler (function tool executed), but can new user speech or transcript still interrupted it?

/Users/chenghao/Downloads/observability-RM_vCuegQdTaXSk you can see there is a 2ms agent speech that is interrupted

we need to fix that. I think the customer was right about this linear: AGT-3283

@chenghao-mou
chenghao-mou requested a review from a team as a code owner August 12, 2026 16:08

@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 potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

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.

1 participant