diff --git a/apps/sim/lib/copilot/chat-payload.ts b/apps/sim/lib/copilot/chat-payload.ts index 9f12f3730..951e5134c 100644 --- a/apps/sim/lib/copilot/chat-payload.ts +++ b/apps/sim/lib/copilot/chat-payload.ts @@ -70,6 +70,16 @@ function buildProviderConfig(selectedModel: string): CopilotProviderConfig | und } } + if (providerEnv === 'azure-anthropic') { + return { + provider: 'azure-anthropic', + model: envModel, + apiKey: env.AZURE_ANTHROPIC_API_KEY, + apiVersion: env.AZURE_ANTHROPIC_API_VERSION, + endpoint: env.AZURE_ANTHROPIC_ENDPOINT, + } + } + if (providerEnv === 'vertex') { return { provider: 'vertex',