← back to Dw Settlement Audit
stage 2: disable Gemini thinking budget — was truncating verdict JSON
a3e513da7dcc1e57223551001e2cd9de93e213bd · 2026-05-18 17:31:38 -0700 · SteveStudio2
Files touched
Diff
commit a3e513da7dcc1e57223551001e2cd9de93e213bd
Author: SteveStudio2 <steve@designerwallcoverings.com>
Date: Mon May 18 17:31:38 2026 -0700
stage 2: disable Gemini thinking budget — was truncating verdict JSON
---
verify-candidates.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/verify-candidates.js b/verify-candidates.js
index bc8a4d6..1805cf2 100644
--- a/verify-candidates.js
+++ b/verify-candidates.js
@@ -61,7 +61,10 @@ async function geminiVerify(imgB64, mime, ctx) {
{ text: GATE + '\n\nProduct title: ' + ctx },
{ inline_data: { mime_type: mime, data: imgB64 } },
] }],
- generationConfig: { temperature: 0, maxOutputTokens: 300 },
+ generationConfig: {
+ temperature: 0, maxOutputTokens: 600,
+ thinkingConfig: { thinkingBudget: 0 }, // 2.5-flash thinks by default — eats the budget
+ },
};
for (let a = 0; a < 4; a++) {
const r = await fetch(
← e577f6f settlement audit stage 2: Gemini vision verifier (resumable,
·
back to Dw Settlement Audit
·
stage 2: tighten Part B to closed-list — monkeys/animals wer f2611b2 →