teqo-backup/tests
Francisco Ignácio Fontoura Solla f9cd1df7b2 feat: AI chat 'Sollinha' — campaign data assistant (v1 read-only)
- Streaming AI endpoint at /campanha/api/ai-chat with DeepSeek V4 Flash
- 8 tools: calculate, getMunicipalityVotes, getTopDeputies, getDobradinhas,
  getMunicipalityOverview, getLeaderships, getOrganizations, searchEntities
- In-memory rate limiter (50 msgs / 15 min per user)
- Desktop: resizable right sidebar via react-resizable-panels
- Mobile: full-screen Drawer opened by FAB (2/3 size of quick-actions FAB)
- Markdown rendering with react-markdown + remark-gfm (tables, bold, lists)
- Session-bound context (clean slate each open)
- Auth via existing campaign-token cookie, tools respect user RBAC
- Architecture doc: docs/plans/ai-chat-sollinha.md
- E2E tests: campaignAiChat.e2e.spec.ts (mocked endpoint)
2026-08-04 06:17:31 -03:00
..
e2e B154 — criar assessor inline no popover da lista de municípios 2026-08-03 22:46:06 -03:00
fixtures Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
helpers ci: main-only cutover with gated Vercel deploy 2026-07-31 20:57:18 -03:00
int fix(int): batch B19 usa municípios alocados — remove raça com cap de assessores 2026-08-03 23:13:01 -03:00
unit feat: AI chat 'Sollinha' — campaign data assistant (v1 read-only) 2026-08-04 06:17:31 -03:00