mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-16 13:44:44 +00: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