Merge pull request #2800 from wucm667/fix/scheduler-model-not-found-per-model-cooldown

fix(scheduler): 模型 404 仅冷却该账号-模型组合,不再封整个账号
This commit is contained in:
Wesley Liddick
2026-05-27 21:01:52 +08:00
committed by GitHub
26 changed files with 434 additions and 63 deletions
+1 -1
View File
@@ -1731,7 +1731,7 @@ func (s *stubAccountRepo) SetRateLimited(ctx context.Context, id int64, resetAt
return errors.New("not implemented")
}
func (s *stubAccountRepo) SetModelRateLimit(ctx context.Context, id int64, scope string, resetAt time.Time) error {
func (s *stubAccountRepo) SetModelRateLimit(ctx context.Context, id int64, scope string, resetAt time.Time, reason ...string) error {
return errors.New("not implemented")
}