Skip to content

Add structured asynchronous user input requests - #42178

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ffc49aebde2e854c3c50a122aa52805fec3fc6b3
Sep 2, 2026
Merged

Add structured asynchronous user input requests#42178
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ffc49aebde2e854c3c50a122aa52805fec3fc6b3

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 2, 2026

Copy link
Copy Markdown

Add structured asynchronous user input requests

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.

## 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
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/ffc49aebde2e854c3c50a122aa52805fec3fc6b3 branch from 79ff0cb to 2c79ee6 Compare September 2, 2026 02:10
@copyberry
copyberry Bot merged commit 2c79ee6 into main Sep 2, 2026
16 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/ffc49aebde2e854c3c50a122aa52805fec3fc6b3 branch September 2, 2026 02:11
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 2, 2026
@ddmasato1
ddmasato1 deployed to issue-triage September 2, 2026 02:16 — with GitHub Actions Active
@ddmasato1
ddmasato1 deployed to issue-triage September 2, 2026 02:16 — with GitHub Actions Active
@ddmasato1
ddmasato1 deployed to issue-triage September 2, 2026 02:16 — with GitHub Actions Active
@ddmasato1
ddmasato1 deployed to issue-triage September 2, 2026 02:17 — with GitHub Actions Active
@NitcanKen
NitcanKen deployed to issue-triage September 2, 2026 02:21 — with GitHub Actions Active
@NitcanKen
NitcanKen deployed to issue-triage September 2, 2026 02:21 — with GitHub Actions Active
@NitcanKen
NitcanKen deployed to issue-triage September 2, 2026 02:21 — with GitHub Actions Active
@FezTorres
FezTorres deployed to issue-triage September 2, 2026 02:22 — with GitHub Actions Active
@FezTorres
FezTorres deployed to issue-triage September 2, 2026 02:22 — with GitHub Actions Active
@FezTorres
FezTorres deployed to issue-triage September 2, 2026 02:22 — with GitHub Actions Active
@NitcanKen
NitcanKen deployed to issue-triage September 2, 2026 02:22 — with GitHub Actions Active
@FMM-BR
FMM-BR deployed to issue-triage September 2, 2026 02:30 — with GitHub Actions Active
@FMM-BR
FMM-BR deployed to issue-triage September 2, 2026 02:30 — with GitHub Actions Active
@FMM-BR
FMM-BR deployed to issue-triage September 2, 2026 02:30 — with GitHub Actions Active
@fengshansi
fengshansi deployed to issue-triage September 2, 2026 02:30 — with GitHub Actions Active
@fengshansi
fengshansi deployed to issue-triage September 2, 2026 02:30 — with GitHub Actions Active
@fengshansi
fengshansi deployed to issue-triage September 2, 2026 02:30 — with GitHub Actions Active
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants