mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-27 07:13:40 +00:00
fix(core): clarify custom question answers (#38919)
This commit is contained in:
parent
efb629a33a
commit
79c7e9446e
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ export const description = `Use this tool when you need to ask the user question
|
|||
4. Offer choices to the user about what direction to take.
|
||||
|
||||
Usage notes:
|
||||
- When \`custom\` is enabled (default), a "Type your own answer" option is added automatically; don't include "Other" or catch-all options
|
||||
- Answers are returned as arrays of labels; set \`multiple: true\` to allow selecting more than one
|
||||
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
||||
- Set \`multiple: true\` to allow selecting more than one option
|
||||
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`
|
||||
|
||||
export const Input = Schema.Struct({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue