Skip to content

Add Vercel AI Gateway support with rate-limit recovery - #1

Open
sstehniy wants to merge 1 commit into
devagrawal09:mainfrom
sstehniy:feat/ai-sdk-ai-gateway
Open

sstehniy wants to merge 1 commit into
devagrawal09:mainfrom
sstehniy:feat/ai-sdk-ai-gateway

Conversation

@sstehniy

Copy link
Copy Markdown

Adds AI Gateway as an alternative to the TypeSafe SDK, selectable through environment variables. Reports and the dashboard identify the backend used.

Gateway requests retry 429/503 responses with shared cooldowns: 2s, 4s, then 8s, honoring server-specified waits until recovery or cancellation.

Validated with 15 passing tests, project checks, and a small live codebase review. Older saved reports remain supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant