From e2903264fc3a7a9d9ab9ecb1b3c5248557cca9fb Mon Sep 17 00:00:00 2001 From: Miguel Angel Simon Sierra Date: Wed, 4 Nov 2026 17:25:29 -0500 Subject: [PATCH] fix(cli): shorten the restored thinking budget comment --- packages/cli/src/capture/contentExtractor.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/cli/src/capture/contentExtractor.ts b/packages/cli/src/capture/contentExtractor.ts index a951f43177..10b5512cc1 100644 --- a/packages/cli/src/capture/contentExtractor.ts +++ b/packages/cli/src/capture/contentExtractor.ts @@ -412,11 +412,8 @@ export async function captionImagesWithGemini( ], config: { maxOutputTokens: maxTokens, - // A one-line factual caption needs no reasoning, and leaving thinking on is - // not merely wasteful: thinking tokens are drawn from maxOutputTokens, so the - // model can spend the whole budget and return empty text. That surfaces as a - // successful request with no caption — the capture then logs "Captioned N/N - // images" followed by "0 images captioned", which is what production shows. + // Thinking tokens are drawn from maxOutputTokens, so the model can spend the + // whole budget and return a successful request with no caption text. thinkingConfig: { thinkingBudget: 0 }, abortSignal: signal, httpOptions: { timeout: timeoutMs },