Skip to content

Commit a1e061e

Browse files
committed
use the unauthenticated endpoints in Compass
1 parent af07cba commit a1e061e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compass-generative-ai/src/atlas-ai-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ const aiURLConfig = {
198198
// Down the line we'd like to only use the admin api, however,
199199
// we cannot currently call that from the Atlas UI. Pending CLOUDP-251201
200200
'admin-api': {
201-
aggregation: 'ai/api/v1/mql-aggregation',
202-
query: 'ai/api/v1/mql-query',
201+
aggregation: 'unauth/ai/api/v1/mql-aggregation',
202+
query: 'unauth/ai/api/v1/mql-query',
203203
},
204204
cloud: {
205205
aggregation: (groupId: string) => `ai/v1/groups/${groupId}/mql-aggregation`,

0 commit comments

Comments
 (0)