diff --git a/backend/.env.example b/backend/.env.example index abb66e4..e7c0ba1 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -39,10 +39,13 @@ PDF_DPI=100 MAX_PAGES=60 MAX_DIMENSION=2400 LLM_TIMEOUT=180 -EXTRACT_MAX_TOKENS=32768 +EXTRACT_MAX_TOKENS=65536 # Reasoning effort for per-sheet extraction (low keeps Gemini thinking tokens # from eating the output budget). Blank = don't send the parameter. EXTRACT_REASONING_EFFORT=low +# Hard thinking-token budget for extraction (OpenRouter reasoning max_tokens / +# Gemini thinking_budget). Stronger than effort; 0 = fall back to effort only. +EXTRACT_REASONING_MAX_TOKENS=2048 REASON_MAX_TOKENS=4096 EXTRACT_CONCURRENCY=4 REASON_CONCURRENCY=4