Skip to content

Commit 1d9f7f2

Browse files
authored
fix: change minItems from 2 to 1 for Anthropic API compatibility (#10551)
1 parent 93bccfe commit 1d9f7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/prompts/tools/native-tools/ask_followup_question.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default {
5151
required: ["text", "mode"],
5252
additionalProperties: false,
5353
},
54-
minItems: 2,
54+
minItems: 1,
5555
maxItems: 4,
5656
},
5757
},

0 commit comments

Comments
 (0)