Skip to content

[DOCS] AskUserQuestion is no longer plan-mode only #671

Closed

Description

Summary

The CLI now offers the AskUserQuestion tool in standard, auto, and auto-with-judge modes, not only plan mode (fixed in inference-gateway/cli#1185, resolving inference-gateway/cli#1184). When tools.ask_user_question.enabled is true, the agent can ask 1-4 multiple-choice clarifying questions mid-task and the interactive form opens in the chat TUI; answers are returned to the agent. Plan mode behavior is unchanged, headless runs still return the "no interactive form" degradation, and the tool description and mode-change reminders no longer describe the tool as plan-only.

Affected pages:

  • docs/cli.md - the AskUserQuestion description introduces it with "While planning, the agent can pause to ask ..."; the tool entry and any plan-mode-only wording should reflect that it is available in all interactive modes (plan mode guidance stays accurate)
  • docs/cli-judge-mode.md - mentions the AskUserQuestion degrade path; verify the wording still holds (no change expected)

Reference PR: inference-gateway/cli#1185

Acceptance Criteria

  • docs/cli.md no longer presents AskUserQuestion as plan-mode only
  • The AskUserQuestion tool entry in docs/cli.md states it is available in standard, auto, and auto-with-judge modes when tools.ask_user_question.enabled is true, and notes the headless plain-text degradation
  • docs/cli-judge-mode.md wording checked against the new behavior

Activity

  1. added
    documentation
    on Sep 12, 2026
  2. moved this to Todo in 2026on Sep 12, 2026
  3. changed the issue type fromtoon Sep 12, 2026
  4. edenreich commented on Sep 12, 2026

    @edenreich
    Contributor

    @claude Can you work on this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Sep 12, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 1m 28s —— View job • docs/issue-671-20260912-1657 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-671-20260912-1657?quick_pull=1&title=Issue%20%23671%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23671%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done - PR #673

    • Gather context (read cli.md AskUserQuestion sections)
    • Update docs/cli.md wording (not plan-mode only)
    • Check docs/cli-judge-mode.md wording - still accurate, no change
    • Lint / format / build (lint:md, format:check, build all pass)
    • Commit and open PR

    Changes (cli.md, 3 lines)

    • Tool entry availability (was "Plan Mode only - excluded from Standard and Auto-Accept"): now every interactive mode - Plan, Standard, Auto-Accept and auto-with-judge - when tools.ask_user_question.enabled is true, pointing at the headless plain-text degradation already documented two paragraphs below.
    • Tool intro: no longer "Pause the plan ..."; plan-mode behavior (answers feed RequestPlanApproval) kept, with mid-task answers described for the other modes.
    • Plan Mode section: kept the planning sentence, added that the same tool is available in the other interactive modes.

    cli-judge-mode.md:63 only says judge-approval degrades "the same way AskUserQuestion does" - a non-blocking distinguishable result. That is unchanged by the CLI fix, so no edit.

    PR

    #673
    | Branch

  6. moved this from Todo to In progress in 2026on Sep 12, 2026
  7. moved this from In progress to QA in 2026on Sep 12, 2026
  8. moved this from QA to Done in 2026on Sep 12, 2026
  9. inference-gateway-releaser commented on Sep 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.14 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions