Commit cdc2dca
committed
fix: align skill tool TypeScript types with JSON schema
Update the args parameter in NativeToolArgs and SkillParams to allow
null in addition to string, matching the JSON schema definition where
args has type: ['string', 'null'] and is in the required array.
This aligns the TypeScript interface with the OpenAI strict mode
pattern used by other tools like codebase_search and execute_command.1 parent 410a3f6 commit cdc2dca
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments