knowledge_base_service and analysis_service were local variables inside the lifespan() function — not module-level exports. Importing them via 'from app.main import ...' always failed with ImportError → 500. Use request.app.state (same pattern as analysis_routes.py) instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| .env.example | ||
| alembic.ini | ||
| Dockerfile | ||
| requirements.txt | ||