mirror of
https://github.com/EKKOLearnAI/hermes-web-ui.git
synced 2026-06-05 18:40:30 +00:00
47020ee08d
Usage stats now automatically filter by the current active profile. Changes: - getLocalUsageStats() accepts optional profile parameter - Add WHERE profile = ? clause to all SQL queries when profile is provided - usageStats controller uses getActiveProfileName() to get current profile - Local session_usage data is now filtered by current profile - Hermes state.db sessions remain unfiltered (no profile field) This allows users to see usage stats specific to their current profile, making multi-profile usage tracking more useful. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>