Add structured asynchronous user input requests - #42178
Merged
copyberry[bot] merged 1 commit intoSep 2, 2026
Merged
Conversation
## What changed - Replace `send_user_message_async` with `request_user_input_async`, accepting one or more questions with optional suggested answers while allowing the turn to continue. - Attach structured question metadata to asynchronous agent messages while retaining readable fallback text, and preserve it through app-server events, thread history, and generated schemas. - Continue enabling the new tool for model catalogs that advertise either the old or new tool name. ## Testing - Cover tool registration, question validation, emitted items, continued turn execution, history preservation, and backwards-compatible deserialization. GitOrigin-RevId: ffc49aebde2e854c3c50a122aa52805fec3fc6b3
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/ffc49aebde2e854c3c50a122aa52805fec3fc6b3
branch
from
September 2, 2026 02:10
79ff0cb to
2c79ee6
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/ffc49aebde2e854c3c50a122aa52805fec3fc6b3
branch
September 2, 2026 02:11
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Add structured asynchronous user input requests
What changed
send_user_message_asyncwithrequest_user_input_async, accepting one or more questions with optional suggested answers while allowing the turn to continue.Testing