Procházet zdrojové kódy

docs: clarify question tool guidance (#8778)

Kit Langton před 9 měsíci
rodič
revize
5092b5f07b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/opencode/src/tool/question.txt

+ 1 - 1
packages/opencode/src/tool/question.txt

@@ -5,6 +5,6 @@ Use this tool when you need to ask the user questions during execution. This all
 4. Offer choices to the user about what direction to take.
 4. Offer choices to the user about what direction to take.
 
 
 Usage notes:
 Usage notes:
-- Users will always be able to select "Other" to provide custom text input
+- 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
 - Answers are returned as arrays of labels; set `multiple: true` to allow selecting more than one
 - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label
 - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label