mirror of
https://github.com/EKKOLearnAI/hermes-web-ui.git
synced 2026-05-27 14:30:18 +00:00
edfbfff6e8
Backend changes: - Add cache_read_tokens, cache_write_tokens, reasoning_tokens, model fields - Migrate from session_id PRIMARY KEY to separate id column with session_id index - Update updateUsage() to accept data object instead of separate params - Add migration logic to preserve existing data during schema upgrade - Add UsageRecord interface for type safety Frontend changes: - Update UsageView to display new token types (cache, reasoning) - Update usage store to handle new usage structure - Update sessions API to fetch enhanced usage data Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>