mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 16:02:19 +00:00
wip: zen
This commit is contained in:
parent
66c2bb8f37
commit
3894c217cc
4 changed files with 128 additions and 5 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue