🚀 Auto-deploy: BrainWind atualizado em 15/07/2026 11:54:37

This commit is contained in:
2026-07-15 11:54:37 +00:00
parent c27aeef8ea
commit 10f666bc51
3 changed files with 7 additions and 2817 deletions
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 507 KiB

After

Width:  |  Height:  |  Size: 351 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 507 KiB

After

Width:  |  Height:  |  Size: 351 KiB

+5 -1
View File
@@ -140,6 +140,10 @@ async function callMinimax(
}, },
body: JSON.stringify(body), body: JSON.stringify(body),
}, 600000, signal); }, 600000, signal);
if (!response.ok) {
const errText = await response.text();
throw new Error(`MiniMax HTTP ${response.status}: ${errText.substring(0, 100)}...`);
}
const data = await response.json() as { choices?: { message?: { content?: string } }[]; error?: { message?: string } }; const data = await response.json() as { choices?: { message?: { content?: string } }[]; error?: { message?: string } };
if (data.error) throw new Error(`MiniMax error: ${data.error.message}`); if (data.error) throw new Error(`MiniMax error: ${data.error.message}`);
const content = data.choices?.[0]?.message?.content; const content = data.choices?.[0]?.message?.content;
@@ -226,7 +230,7 @@ export async function runAudit(
): Promise<AuditReport> { ): Promise<AuditReport> {
onProgress?.(0); onProgress?.(0);
const maxRetriesPerChunk = 2; const maxRetriesPerChunk = 2;
const chunkSize = 5; // Reduzido de 10 para 5 devido ao alto volume de tokens do Chain of Thought const chunkSize = config.provider === 'minimax' ? 1 : 5; // Reduzido para 1 no MiniMax devido a timeouts (504) por geração excessiva de tokens de raciocínio.
const allLlmResults = []; const allLlmResults = [];
let completed = 0; let completed = 0;