Просмотр исходного кода

docs: clarify question tool guidance (#8778)

Kit Langton 1 месяц назад
Родитель
Сommit
5092b5f07b
1 измененных файлов с 1 добавлено и 1 удалено
  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