refactor: remove unused rate limit message part in computeRateLimitMessage function

This commit is contained in:
DIYgod 2025-11-20 15:17:50 +08:00
parent 6dbf04d5f8
commit 9347e80bfd
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -107,7 +107,6 @@ export function computeRateLimitMessage(
const monthly = configuration.freeQuota.remainingMonthlyRequests
if (!daily || !monthly) {
const parts: string[] = []
parts.push(t("rate_limit.depleted", aiNs))
if (!hideResetDetails) {
if (!daily && monthly) {
parts.push(t("rate_limit.resets_tomorrow", aiNs))