mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
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> |
||
|---|---|---|
| .. | ||
| db_transaction_queue | ||
| mcp_server | ||
| test_check_migration.py | ||
| test_db_spend_update_writer.py | ||
| test_exception_handler.py | ||
| test_prisma_client.py | ||
| test_rds_iam_token_expiry.py | ||