Commit 68e5163
committed
fix: change minItems from 2 to 1 for Anthropic API compatibility
The Anthropic API only supports minItems values of 0 or 1 for array types
in tool schemas. This fixes the 400 error when using ask_followup_question
with Anthropic models via OpenRouter.
Fixes ROO-4201 parent 93bccfe commit 68e5163
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments