Skip to content

Commit dba4e61

Browse files
committed
Fix dropped provider
1 parent ab39a4f commit dba4e61

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

apps/sim/lib/copilot/chat-payload.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ function buildProviderConfig(selectedModel: string): CopilotProviderConfig | und
7070
}
7171
}
7272

73+
if (providerEnv === 'azure-anthropic') {
74+
return {
75+
provider: 'azure-anthropic',
76+
model: envModel,
77+
apiKey: env.AZURE_ANTHROPIC_API_KEY,
78+
apiVersion: env.AZURE_ANTHROPIC_API_VERSION,
79+
endpoint: env.AZURE_ANTHROPIC_ENDPOINT,
80+
}
81+
}
82+
7383
if (providerEnv === 'vertex') {
7484
return {
7585
provider: 'vertex',

0 commit comments

Comments
 (0)