diff --git a/core/llm/toolSupport.ts b/core/llm/toolSupport.ts index 3d0d72cc8..64b604e6d 100644 --- a/core/llm/toolSupport.ts +++ b/core/llm/toolSupport.ts @@ -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 (