Skip to content

Windows: request_user_input_async returns accepted but renders only plain-text options without interactive controls #43753

Closed

Description

@YR-yangrui

What version of Codex CLI is running?

codex-cli 0.153.4, confirmed with codex --version on the affected machine.

What subscription do you have?

Not collected.

Which model were you using?

Not independently verified from client status.

What platform is your computer?

Windows 10 Pro, version 10.0.19045, x64. The affected UI shows a CLI/TUI-style conversation transcript. The exact terminal emulator and any separate frontend/app-server version were not collected.

What issue are you seeing?

During an active conversation, the assistant invoked the native request_user_input_async tool with a question and two options. The tool returned:

{"accepted":true}

The user did not receive an interactive selection/submission interface. Their screenshot shows the question and options rendered as ordinary transcript text. Translated excerpt:

Unity is currently in Play Mode and the new tool is not registered.
Should we end the run now, let the Editor load the new tool, and verify read-only calls?

- Preserve the current run; load later
- End the run and load now

The assistant continued working after the accepted response. The user then reported that no question interface had appeared and supplied the screenshot demonstrating the plain-text presentation. No structured answer to this asynchronous question arrived in the assistant's tool results.

What steps can reproduce the bug?

Observed sequence in this conversation, not yet independently reproduced in a clean session:

  1. Use Codex on Windows with request_user_input_async exposed.
  2. During an active turn, invoke it with a question and two choices. The actual call was:
{
  "questions": [
    {
      "title": "Unity 目前正在 Play Mode,新工具尚未注册。是否现在结束运行,让 Editor 加载新工具并验证只读调用?",
      "options": [
        "保留当前运行,稍后加载",
        "现在结束运行并加载"
      ]
    }
  ]
}
  1. Observe the tool returning {"accepted":true} immediately.
  2. The assistant continues working, while the user sees the question and choices only as plain transcript text, without selectable controls or a submit action.

The issue was reported while the assistant turn was still active; it was not first noticed after final completion. No tab switching was reported as a trigger.

What is the expected behavior?

A supported asynchronous structured question should present an actionable question UI and deliver the user's submitted answer back to the active conversation. If this client cannot render/handle that interaction, the tool should report the unsupported capability or provide an explicit usable fallback instead of silently returning accepted with only plain text.

accepted is understood to mean request acceptance, not user approval; the missing interactive interface is the issue being reported.

Additional information

  • An earlier synchronous request_user_input call in this conversation successfully returned a structured answer.
  • As a workaround, a separate desktop-question MCP tool successfully presented a question and returned the user's selected option. This does not establish the native tool's root cause.
  • Related: Codex desktop: pending question interface disappears after switching tabs and does not return #43057 reports a disappearing request_user_input_async interface after tab switching in the macOS desktop app. This report concerns Windows and plain-text presentation without a reported tab switch; it may or may not share a cause.
  • The official changelog lists support for structured asynchronous questions when enabled by the model catalog: https://learn.chatgpt.com/docs/changelog
  • Submitted at the affected user's explicit request. A text transcription is included instead of uploading the project-bearing screenshot or private session logs.

Codex doctor report

Not collected for this initial report. Version and OS were checked directly; reproduction frequency and frontend/server compatibility remain unverified.

Activity

  1. added
    bugSomething isn't working
    CLIIssues related to the Codex CLI
    windows-osIssues related to Codex on Windows systems
    tool-callsIssues related to tool calling
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    on Sep 8, 2026
  2. Torhok9696 commented on Sep 8, 2026

    @Torhok9696

    Also observed on macOS.

    Environment checked on the affected machine:

    • Codex CLI: 0.153.4
    • macOS: 26.6.2, arm64
    • Terminal: Warp, v0.2026.08.19.08.15.stable_01

    During an ongoing CLI session, the assistant invoked request_user_input_async with a question and three suggested answers. It returned {"accepted":true}. The screenshot shows the question followed by ordinary bullet points in the transcript. The assistant continued investigating, and I only noticed the unanswered question by chance. I have encountered this several times; this particular occurrence is documented, but I have not isolated a clean-session reproduction.

    I like being able to answer while the assistant continues independent work. The usability problem is that the question is easy to miss among the continuing output. An unanswered question needs a persistent, discoverable pending state and a clear way to answer or dismiss it. Stopping all work for every optional question would lose the benefit of the asynchronous interaction.

    Source inspection at rust-v0.153.4 is consistent with the plain-text presentation:

    • The tool handler builds a text fallback with bullet-point options and also emits structured questions and delivery: Async fields.
    • The TUI's on_agent_message_item_completed handler renders the text through the normal assistant-message path without using those two fields.

    Hypothesis (high confidence): this is a shared TUI handling gap. The source inspection explains the plain-text presentation, but a fix has not been implemented or verified.

  3. art-shen commented on Sep 8, 2026

    @art-shen

    This is super annoying and broken. Happens with CLI for every OS

    The questions are invisible and just getting buried somewhere in the history. Agent is thinking they were properly raised yet I as a user see nothing about them (ain't follow this whole text history ofc)

  4. imac-oai commented on Oct 1, 2026

    @imac-oai
    Contributor

    I believe this specific issue w/ async questions is addressed (though the broader behavior of the questions being transient/clearing after the model finishes its turn is still the current behavior).

    I'm going to close this ticket out, but please reopen if it reoccurs on the latest versions of codex (0.159.0+)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions