Update demo assistant banner to credit Vercel AI Gateway
Merged
SU
1mo ago+489+489+012345678901234567890123456789-71-71-01234567890123456789
Summary
- Replace the English AI Assistant “Demo Mode Active” message with the requested copy:
Free LLM tokens courtesy of Vercel AI Gateway. Results may vary since we change model weights often for testing purposes. Refer to Vercel's documentation to see where your conversations go! 🤖
- Align all 16 non-English demo-banner translations with the full English message, including Catalan, Polish, and Russian. Remove the old model-specific wording and training assurances; retain the Vercel AI Gateway attribution, changing-model-weights explanation, documentation reference, and emoji.
- Leave demo gating, styling, and AI behavior unchanged.
Validation
- Translation update: full Rails suite passed with 12,953 tests, 59,745 assertions, 0 failures/errors, 37 skips. All 17 chat locale files parse; semantic comparison confirms only the 16 translated banner messages changed, with English and other keys unchanged. git diff --check passed.
- Latest English revision: full Rails suite passed, 12,299 tests, 56,864 assertions, 0 failures/errors, 36 skips.
- Refreshed Chromium banner smoke check: 1 test, 3 assertions, all passed.
- Initial revision: 7 existing chat system tests plus banner smoke check passed (8 tests, 21 assertions); Ruby lint, full-tree ERB lint (749 templates), Biome lint, and Brakeman passed.
- Updated English YAML parses; git diff --check passes.
- Temporary browser smoke check uses fixture data and forces the existing demo banner visible; no production behavior or permanent tests were added.
Screenshot
Updated AI Assistant sidebar captured in Chromium (shared in development)
Summary by CodeRabbit
- New Features
- Daily activity metrics are recorded for web usage, AI assistant requests, MCP tool calls, and background jobs. Tracking is best-effort and does not interrupt the underlying activity if it fails.
- Documentation
- Added hosting guidance explaining when daily activity is recorded and how tracking behaves.
- Updates
- Updated chat demo notices across supported languages to identify Vercel AI Gateway, note that results may vary, and point to information about conversation handling.