feat: support o3/o4 as agents
This commit is contained in:
parent
87ad955b3b
commit
8bb18fd2ee
1 changed files with 8 additions and 0 deletions
|
|
@ -31,6 +31,14 @@ export const PROVIDER_TOOL_SUPPORT: Record<
|
|||
return true;
|
||||
}
|
||||
},
|
||||
azure: (model) => {
|
||||
if (
|
||||
model.toLowerCase().startsWith("gpt-4") ||
|
||||
model.toLowerCase().startsWith("o3")
|
||||
) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
openai: (model) => {
|
||||
// https://platform.openai.com/docs/guides/function-calling#models-supporting-function-calling
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue