Skip to content

An AI-powered search engine with a generative UI

Update Azure OpenAI API version to 2025-03-01-preview to support newer models

Yoshiki Miurada66a0190c89
diff --git a/lib/utils/registry.ts b/lib/utils/registry.ts
index 6090e4d0..42d08652 100644
--- a/lib/utils/registry.ts
+++ b/lib/utils/registry.ts
@@ -23,7 +23,8 @@ export const registry = createProviderRegistry({
}),
azure: createAzure({
apiKey: process.env.AZURE_API_KEY,
- resourceName: process.env.AZURE_RESOURCE_NAME
+ resourceName: process.env.AZURE_RESOURCE_NAME,
+ apiVersion: '2025-03-01-preview'
}),
deepseek,
fireworks: {