Question tools block execution in opencode run ... mode #7077

Open
opened 2026-02-16 18:06:07 -05:00 by yindo · 1 comment
Owner

Originally created by @JosXa on GitHub (Jan 21, 2026).

Originally assigned to: @thdxr on GitHub.

Description

When the LLM decides to use the question tool in an inline opencode run session without TUI, the execution will halt forever. We should probably disable the question tool for it by default, and arguably override user decisions to allow the question tool always.

Originally created by @JosXa on GitHub (Jan 21, 2026). Originally assigned to: @thdxr on GitHub. ### Description When the LLM decides to use the question tool in an inline `opencode run` session without TUI, the execution will halt forever. We should probably disable the question tool for it by default, and arguably override user decisions to allow the question tool always.
yindo added the bug label 2026-02-16 18:06:07 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 21, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7654: [BUG] Questions from nested sub-agents don't appear in TUI - describes the question tool causing execution to hang when questions cannot be properly displayed/answered

Feel free to ignore if your specific case is different.

@github-actions[bot] commented on GitHub (Jan 21, 2026): This issue might be a duplicate of existing issues. Please check: - #7654: [BUG] Questions from nested sub-agents don't appear in TUI - describes the question tool causing execution to hang when questions cannot be properly displayed/answered Feel free to ignore if your specific case is different.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7077