airefactor #19

Merged
mstoeck3 merged 25 commits from airefactor into main 2025-08-17 22:59:31 +00:00
Showing only changes of commit 6b09eb062f - Show all commits

View File

@ -1779,19 +1779,22 @@ class AIQueryInterface {
version: data.metadata.version || '1.0',
auditEntries: data.auditTrail?.length || 0,
toolsCount: data.recommendation.recommended_tools?.length || 0,
checksum: data.checksum?.slice(0, 8) + '...' || 'none'
checksum: data.checksum?.slice(0, 8) + '...' || 'none',
originalMode: data.metadata.mode,
currentMode: this.currentMode
});
this.hideResults();
this.hideError();
this.hideLoading();
this.displayUploadedResults(data);
if (data.metadata.mode && data.metadata.mode !== this.currentMode) {
console.log(`[AI Interface] Switching from ${this.currentMode} to ${data.metadata.mode} mode for uploaded analysis`);
this.setMode(data.metadata.mode);
}
this.displayUploadedResults(data);
if (data.metadata.userQuery && this.elements.input) {
this.elements.input.value = data.metadata.userQuery;
this.updateCharacterCount();