fix: cool down codex weekly limit prompts
This commit is contained in:
@@ -660,13 +660,13 @@ export function defaultCodexTempUnschedulablePolicy(): CodexTempUnschedulablePol
|
||||
},
|
||||
{
|
||||
statusCode: 403,
|
||||
keywords: ["forbidden", "access denied", "quota", "billing", "capacity", "recovered upstream error"],
|
||||
keywords: ["forbidden", "access denied", "quota", "billing", "capacity", "weekly limit", "less than 10% of your weekly limit left", "run /status for a breakdown", "recovered upstream error"],
|
||||
durationMinutes: 120,
|
||||
description: "Permission, quota, or account-state failures should use the longest cooldown.",
|
||||
},
|
||||
{
|
||||
statusCode: 429,
|
||||
keywords: ["capacity", "rate limit", "rate_limit", "quota", "too many requests", "overloaded", "resource_exhausted", "recovered upstream error"],
|
||||
keywords: ["capacity", "rate limit", "rate_limit", "quota", "weekly limit", "less than 10% of your weekly limit left", "run /status for a breakdown", "too many requests", "overloaded", "resource_exhausted", "recovered upstream error"],
|
||||
durationMinutes: 10,
|
||||
description: "Capacity and rate-limit responses are often temporary; start with a ten-minute cooldown and use another account.",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user