🚀 Auto-deploy: BrainWind atualizado em 12/07/2026 15:56:23
This commit is contained in:
@@ -78,6 +78,7 @@ export function buildAuditReport(
|
||||
verdict,
|
||||
checks: r.checks ?? [],
|
||||
summary: r.summary ?? '',
|
||||
calculation_steps: r.calculation_steps,
|
||||
llmNotes: r.llmNotes,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -243,7 +243,7 @@ export async function runAudit(
|
||||
// Avisar a UI do progresso absoluto
|
||||
onProgress?.(completed);
|
||||
|
||||
const rawResponse = await runLLMAudit(config, prompt.system, prompt.user, (msg) => {
|
||||
const rawResponse = await runLLMAudit(config, prompt.system, prompt.user, () => {
|
||||
// opcional
|
||||
}, signal);
|
||||
rawResponseFull += rawResponse + '\n\n';
|
||||
|
||||
@@ -10,9 +10,6 @@ export function serializeScenario(scenario: AuditScenario): string {
|
||||
inputs: scenario.inputs,
|
||||
intermediates: scenario.intermediates,
|
||||
outputs: scenario.outputs,
|
||||
expectedRanges: scenario.expectedRanges,
|
||||
diagramType: scenario.diagramType,
|
||||
diagramProps: scenario.diagramProps,
|
||||
}, null, 2);
|
||||
}
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@ export interface ScenarioResult {
|
||||
readonly verdict: CheckStatus;
|
||||
readonly checks: readonly AuditCheck[];
|
||||
readonly summary: string;
|
||||
readonly calculation_steps?: string;
|
||||
readonly llmNotes?: string;
|
||||
}
|
||||
|
||||
@@ -136,5 +137,6 @@ export interface AuditLLMResponse {
|
||||
readonly explanation: string;
|
||||
}[];
|
||||
readonly summary: string;
|
||||
readonly calculation_steps?: string;
|
||||
readonly llmNotes?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user