refactor: remove unused rate limit message part in computeRateLimitMessage function
This commit is contained in:
parent
6dbf04d5f8
commit
9347e80bfd
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue