modcomms/backend/app/agents
Vadym Samoilenko efa6e772e0 Add toast notification when primary Gemini model falls back to backup
Backend: thread on_fallback callback through analysis chain
(gemini_service → agents → analysis_service → handlers). The handler
sends a 'model_fallback' WebSocket message exactly once per analysis
when the primary model is unavailable.

Frontend: handle 'model_fallback' WS message and show a dismissible
yellow toast at the bottom of the screen with an 8-second auto-dismiss.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 13:00:12 +00:00
..
__init__.py Restructure agent system: remove Tone, split Channel, implement Legal 2026-01-24 11:58:17 -06:00
base_agent.py Add toast notification when primary Gemini model falls back to backup 2026-03-02 13:00:12 +00:00
brand_agent.py Add toast notification when primary Gemini model falls back to backup 2026-03-02 13:00:12 +00:00
channel_best_practices_agent.py Add toast notification when primary Gemini model falls back to backup 2026-03-02 13:00:12 +00:00
channel_tech_specs_agent.py Add toast notification when primary Gemini model falls back to backup 2026-03-02 13:00:12 +00:00
lead_agent.py Add toast notification when primary Gemini model falls back to backup 2026-03-02 13:00:12 +00:00
legal_agent.py Add toast notification when primary Gemini model falls back to backup 2026-03-02 13:00:12 +00:00