Commit 82d90ff
fix(openai-adapters): change 'parameters' to 'inputSchema' for AI SDK v5
AI SDK v5 renamed the tool property from 'parameters' to 'inputSchema'. This was causing tool schema validation errors where the SDK couldn't recognize the tool definitions. Fixes tool calling tests that were failing with: - 'Invalid schema for function' errors - 'got type: None' errors Co-authored-by: nate <nate@continue.dev> Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>1 parent f0ec57b commit 82d90ff
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments