瀏覽代碼

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

Aiden Cline 3 周之前
父節點
當前提交
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({