mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-05 15:08:18 +00:00
6097905e55
Virtual keys only track created_at and updated_at, which don't indicate when a key was last used. This adds a last_active field that gets updated during the async batch spend update, giving admins visibility into which keys are actively being used. Changes: - Add last_active DateTime? to VerificationToken and DeletedVerificationToken in all 3 schema files and Python types - Set last_active in the batch key spend update alongside spend increment - Add Last Active column to virtual keys UI table with info popover and hover tooltip showing full date/time with timezone Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>