Skip to content

Commit 8a2a096

Browse files
committed
nit
1 parent 5034086 commit 8a2a096

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ describe('AtlasAiService', function () {
9696
'mql-aggregation':
9797
'/cloud/ai/v1/groups/testProject/mql-aggregation?request_id=abc',
9898
'mql-query': '/cloud/ai/v1/groups/testProject/mql-query?request_id=abc',
99-
// unused request id
10099
'mock-data-schema':
101100
'/cloud/ai/v1/groups/testProject/mock-data-schema?request_id=abc',
102101
},
@@ -431,9 +430,6 @@ describe('AtlasAiService', function () {
431430
});
432431
}
433432

434-
/**
435-
* need more illustrative input
436-
*/
437433
if (apiURLPreset === 'cloud') {
438434
it('makes a post request to the correct endpoint', async function () {
439435
const mockResponse = {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export type MockDataSchemaResponse = z.infer<
266266
>;
267267

268268
/**
269-
* The type from the natural language query REST API
269+
* The type of resource from the natural language query REST API
270270
*/
271271
type AIResourceType = 'query' | 'aggregation' | 'mock-data-schema';
272272

0 commit comments

Comments
 (0)