Enforce gemini-2.5-flash-lite per Echo6 model policy

Replace gemini-2.0-flash with gemini-2.5-flash-lite across the enrichment
and extraction pipeline (config.yaml, lib/extractor.py) and the six
maintenance scripts. Flash Lite is the mandated model for all Gemini calls.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matt 2026-06-14 22:59:36 +00:00
commit f3705d10c6
8 changed files with 8 additions and 8 deletions

View file

@ -197,7 +197,7 @@ def _try_gemini_vision(pdf_path, page_num_1indexed, page_timeout=60):
for attempt in range(3):
try:
genai.configure(api_key=api_key)
model = genai.GenerativeModel('gemini-2.0-flash')
model = genai.GenerativeModel('gemini-2.5-flash-lite')
response = model.generate_content([
{
'mime_type': 'image/png',