Skip to content

Conversation

@krissetto
Copy link
Contributor

Initial version of a multi-choice dialog box.

The idea was to use it to allow for a "reason" dialog box when rejecting tool calls, or to allow the model to prompt users with options via a tool call (not included in this PR).

What does it include?

  • Allows defining up to 10 options to choose from
  • Choosing if "secondary" button (in the img "skip") is shown along with the primary button, and ability to give them custom labels
  • Tab selection between primary/secondary buttons
  • If present, secondary button is focused by default, primary gets focused when an option is chosen (e.g. "skip/send")
  • Options can be chosen with numbers or by mouse click
  • Optional custom input field. If present, typing any non-number will auto select this option and insert the input

Demo usage screenshot

image

@krissetto krissetto requested a review from a team as a code owner January 20, 2026 12:27
@krissetto krissetto merged commit 0f26230 into docker:main Jan 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants