diff --git a/app/public/logo_brainwind.svg b/app/public/logo_brainwind.svg
index 0a480a6..ddc9511 100644
--- a/app/public/logo_brainwind.svg
+++ b/app/public/logo_brainwind.svg
@@ -1,1408 +1 @@
-
-
+
\ No newline at end of file
diff --git a/app/public/logo_brainwind_dark.svg b/app/public/logo_brainwind_dark.svg
index 0a480a6..176db87 100644
--- a/app/public/logo_brainwind_dark.svg
+++ b/app/public/logo_brainwind_dark.svg
@@ -1,1408 +1 @@
-
-
+
\ No newline at end of file
diff --git a/app/src/lib/audit/runner.ts b/app/src/lib/audit/runner.ts
index 4148442..4f86074 100644
--- a/app/src/lib/audit/runner.ts
+++ b/app/src/lib/audit/runner.ts
@@ -140,6 +140,10 @@ async function callMinimax(
},
body: JSON.stringify(body),
}, 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 } };
if (data.error) throw new Error(`MiniMax error: ${data.error.message}`);
const content = data.choices?.[0]?.message?.content;
@@ -226,7 +230,7 @@ export async function runAudit(
): Promise {
onProgress?.(0);
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 = [];
let completed = 0;