mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix for azure models not liking tool definitions
This commit is contained in:
parent
93f4252bb1
commit
b2fb0508ea
1 changed files with 4 additions and 0 deletions
|
|
@ -322,6 +322,10 @@ export namespace Provider {
|
|||
...t,
|
||||
parameters: optionalToNullable(t.parameters),
|
||||
})),
|
||||
azure: TOOLS.map((t) => ({
|
||||
...t,
|
||||
parameters: optionalToNullable(t.parameters),
|
||||
})),
|
||||
google: TOOLS,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue