main #11
File diff suppressed because it is too large
Load Diff
@ -209,25 +209,6 @@ class ImprovedMicroTaskAIPipeline {
|
|||||||
|
|
||||||
console.log('[AUDIT] Merged temporary entries into context');
|
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 {
|
private calculateSelectionConfidence(result: any, candidateCount: number): number {
|
||||||
if (!result || !result.selectedTools) return 30;
|
if (!result || !result.selectedTools) return 30;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user