Skip to content

Commit e4bf70e

Browse files
committed
Remove more files
1 parent 7048369 commit e4bf70e

4 files changed

Lines changed: 0 additions & 38 deletions

File tree

ai-prompts/mcp-analytics.txt

Lines changed: 0 additions & 28 deletions
This file was deleted.

packages/server/api/src/app/ai/chat/prompts.service.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ export const getMcpSystemPrompt = async ({
3333
promptsToLoad.push('mcp-tables.txt');
3434
}
3535

36-
if (
37-
queryClassification.includes(QueryClassification.analytics) &&
38-
hasToolProvider(selectedTools, 'superset')
39-
) {
40-
promptsToLoad.push('mcp-analytics.txt');
41-
}
42-
4336
if (
4437
queryClassification.includes(QueryClassification.openops) &&
4538
hasToolProvider(selectedTools, 'openops')

packages/server/api/src/app/ai/mcp/llm-query-router.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ export type ToolsAndQueryResult = {
2222

2323
const baseQueryClassificationDescriptions: Record<QueryClassification, string> =
2424
{
25-
[QueryClassification.analytics]:
26-
'requires data visualization, charts, dashboards, or Superset-related functionality',
2725
[QueryClassification.tables]:
2826
'requires database access, schema information, or table operations',
2927
[QueryClassification.openops]:

packages/server/api/src/app/ai/mcp/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export type AssistantUITools = Record<
1616
>;
1717

1818
export const QueryClassification = {
19-
analytics: 'analytics',
2019
tables: 'tables',
2120
openops: 'openops',
2221
aws_cost: 'aws_cost',

0 commit comments

Comments
 (0)