mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-09 02:44:55 +01:00
fix for azure models not liking tool definitions
This commit is contained in:
@@ -322,6 +322,10 @@ export namespace Provider {
|
|||||||
...t,
|
...t,
|
||||||
parameters: optionalToNullable(t.parameters),
|
parameters: optionalToNullable(t.parameters),
|
||||||
})),
|
})),
|
||||||
|
azure: TOOLS.map((t) => ({
|
||||||
|
...t,
|
||||||
|
parameters: optionalToNullable(t.parameters),
|
||||||
|
})),
|
||||||
google: TOOLS,
|
google: TOOLS,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user