diff --git a/src/components/AIQueryInterface.astro b/src/components/AIQueryInterface.astro index b8b3969..88dae7e 100644 --- a/src/components/AIQueryInterface.astro +++ b/src/components/AIQueryInterface.astro @@ -3,7 +3,6 @@ import { getToolsData } from '../utils/dataService.js'; import { isToolHosted } from '../utils/toolHelpers.js'; -import { AuditTrailRenderer } from '../js/auditTrailRenderer.js'; const data = await getToolsData(); const tools = data.tools; @@ -211,21 +210,575 @@ const domainAgnosticSoftware = data['domain-agnostic-software'] || []; \ No newline at end of file + + console.log('[AI Interface] Initialized successfully'); +}); \ No newline at end of file diff --git a/src/utils/aiPipeline.ts b/src/utils/aiPipeline.ts index 79d5a39..0d1ba3b 100644 --- a/src/utils/aiPipeline.ts +++ b/src/utils/aiPipeline.ts @@ -209,25 +209,6 @@ class ImprovedMicroTaskAIPipeline { console.log('[AUDIT] Merged temporary entries into context'); } -/** - private summarizeForAudit(data: any): any { - if (this.auditConfig.detailLevel === 'minimal') { - if (typeof data === 'string' && data.length > 100) { - return data.slice(0, 100) + '...[truncated]'; - } - if (Array.isArray(data) && data.length > 3) { - return [...data.slice(0, 3), `...[${data.length - 3} more items]`]; - } - } else if (this.auditConfig.detailLevel === 'standard') { - if (typeof data === 'string' && data.length > 500) { - return data.slice(0, 500) + '...[truncated]'; - } - if (Array.isArray(data) && data.length > 10) { - return [...data.slice(0, 10), `...[${data.length - 10} more items]`]; - } - } - return data; - }**/ private calculateSelectionConfidence(result: any, candidateCount: number): number { if (!result || !result.selectedTools) return 30;