diff --git a/.env.local.example b/.env.local.example index 633aed20..2762d581 100644 --- a/.env.local.example +++ b/.env.local.example @@ -17,10 +17,10 @@ NEXT_PUBLIC_COMPOSIO_USER_ID=user@example.com # NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=your_mapbox_public_token_here # AI Provider API Keys -# Azure AI Foundry (Azure OpenAI) -AZURE_RESOURCE_NAME=your_azure_resource_name_here +# Azure AI Foundry (OpenAI-compatible endpoint) +AZURE_ENDPOINT=https://your-resource.services.ai.azure.com/openai/v1 AZURE_API_KEY=your_azure_api_key_here -AZURE_DEPLOYMENT_NAME=gpt-4o +AZURE_DEPLOYMENT_NAME=gpt-5.5 # Gemini 3.1 Pro (Google Generative AI) GEMINI_3_PRO_API_KEY=your_gemini_3_pro_api_key_here diff --git a/lib/utils/index.ts b/lib/utils/index.ts index 8866207c..b8867d1a 100644 --- a/lib/utils/index.ts +++ b/lib/utils/index.ts @@ -5,7 +5,6 @@ import { createOpenAI } from '@ai-sdk/openai' import { createGoogleGenerativeAI } from '@ai-sdk/google' import { createAmazonBedrock } from '@ai-sdk/amazon-bedrock' import { createXai } from '@ai-sdk/xai'; -import { createAzure } from '@ai-sdk/azure'; import { v4 as uuidv4 } from 'uuid'; import { LanguageModel } from 'ai' @@ -33,9 +32,9 @@ export async function getModel(requireVision: boolean = false): Promise