Repository navigation
feat: add return_handle to commit_user_turn - #8729
Merged
chenghao-mou merged 3 commits intoNov 24, 2026
Merged
Conversation
Co-authored-by: Benjamin Lowe <[email protected]>
chenghao-mou
marked this pull request as ready for review
November 22, 2026 19:27
Contributor
|
Awesome, thanks for this! |
longcw
approved these changes
Nov 23, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
chenghao-mou
deleted the
chenghao/feat/AGT-3629-commit-user-turn-handle
branch
November 24, 2026 14:13
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.
Manual turn handlers need the handle for the reply
commit_user_turn()already schedules so they can wait for playout. A wait ingenerate_reply()would only help callers that start a separate reply. Thanks to @bml1g12 for proposing a result with the transcript and speech handle.With
skip_reply=True, an accepted turn enters chat history before the opt-in result resolves.Fixes #7585
Addresses AGT-3629
Initial prompt and agent context
Model: GPT-6.2 Sol