Primary model (gemini-3.1-pro-preview): 45s timeout Fallback model (gemini-3-flash-preview): 60s timeout Without timeouts, the fallback model under high load would wait indefinitely, causing analysis to hang for 10+ minutes per file. asyncio.TimeoutError from the primary model is now handled the same as other exceptions (falls through to fallback). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| analysis_service.py | ||
| auth_service.py | ||
| email_service.py | ||
| gemini_service.py | ||
| knowledge_base_service.py | ||
| llamaparse_service.py | ||
| pdf_service.py | ||
| reference_docs.py | ||
| storage_service.py | ||