Documentation
¶
Overview ¶
Package ask_user implements the ask_user tool: the model asks the user a multiple-choice question and blocks on the answer. Plan-mode only — it lets the agent resolve ambiguity before writing a plan instead of guessing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tool ¶
type Tool struct {
// contains filtered or unexported fields
}
Tool wraps an ask.Asker. A nil asker falls back to Static (auto-pick), so the tool is always safe to register.
func New ¶
New returns an ask_user tool. Pass nil for headless/autonomous runs where no human is present; it auto-resolves to the recommended option.
Click to show internal directories.
Click to hide internal directories.