feat: improve model rate limit tracking

This commit is contained in:
2026-05-12 03:22:29 +08:00
parent 05632172d0
commit ba850a06c6
25 changed files with 1223 additions and 96 deletions
@@ -0,0 +1,5 @@
ALTER TABLE IF EXISTS platform_models
ADD COLUMN IF NOT EXISTS cooldown_until timestamptz;
CREATE INDEX IF NOT EXISTS idx_platform_models_cooldown
ON platform_models(cooldown_until);