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

fix(core): clarify custom question answers (#38919)

Aiden Cline 3 недель назад
Родитель
Сommit
79c7e9446e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/core/src/tool/question.ts

+ 2 - 2
packages/core/src/tool/question.ts

@@ -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({