LibreChat stopped tagging agent transactions with model: agent_xxx around
2026-03; new agent transactions record the underlying LLM and link to the
message via messageId. Aggregate from messages -> transactions and union
with the legacy path so historical and current data both show.
Also create createdAt / messageId / (createdAt, model) indexes on startup.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Express.js + Chart.js dashboard for LibreChat usage analytics.
Queries MongoDB transactions collection for model/agent usage, costs, and top users.
Dark theme with Montserrat font, black/gold (#FFC407) color scheme.
Docker-ready with API key authentication.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>