mirror of
https://github.com/zvx-echo6/recon.git
synced 2026-08-26 17:21:33 +00:00
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:
parent
e840a119dd
commit
f3705d10c6
8 changed files with 8 additions and 8 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue