Vercel · Arazzo Workflow
Vercel AI Gateway Chat Completion With Provider Fallback
Version 1.0.0
Attempt a chat completion with a provider fallback chain, retrying on rate limit.
Provider
Workflows
chatCompletionWithFallback
Create a chat completion with a provider fallback chain and retry on rate limit.
Issues a chat completion using a gateway provider fallback order, retrying the request when the gateway returns a rate-limit status, and returns the assistant reply on success.
1
complete
createChatCompletion
Create a chat completion with a gateway provider fallback order. On a rate-limit response, loop back and retry the same request.