This commit is contained in:
Frank 2026-02-10 16:54:19 -05:00 committed by opencode
parent 66c2bb8f37
commit 3894c217cc
4 changed files with 128 additions and 5 deletions

View file

@ -313,7 +313,7 @@ export async function handler(
if (error instanceof FreeUsageLimitError || error instanceof SubscriptionUsageLimitError) {
const headers = new Headers()
if (error instanceof SubscriptionUsageLimitError && error.retryAfter) {
if (error.retryAfter) {
headers.set("retry-after", String(error.retryAfter))
}
return new Response(