modcomms/backend/app/api
Vadym Samoilenko 71639030ba Fix 500 error on knowledge base Process Documents
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>
2026-05-14 15:50:36 +01:00
..
__init__.py Replace WebSocket with REST polling to fix GCP LB 30s timeout 2026-03-18 15:26:01 +00:00
analysis_routes.py Replace WebSocket with REST polling to fix GCP LB 30s timeout 2026-03-18 15:26:01 +00:00
knowledge_base_routes.py Fix 500 error on knowledge base Process Documents 2026-05-14 15:50:36 +01:00
knowledge_base_schemas.py Add Knowledge Base management system for AI agent specs 2026-02-12 15:00:36 -06:00
routes.py Add CSV export of campaign data for super_admin and oversight_admin 2026-03-19 11:35:24 +00:00
schemas.py Add per-agency analytics breakdown table for admin users 2026-02-22 14:33:48 -06:00