Vercel · Arazzo Workflow
Vercel AI Gateway Discover Model Then Complete
Version 1.0.0
List available models, confirm the requested one is present, then run a chat completion.
Provider
Workflows
discoverModelThenComplete
Verify a model is in the gateway catalog, then create a chat completion.
Lists gateway models, branches on whether the requested model is available, and on success creates a chat completion returning the assistant message and token usage.
1
listModels
listModels
List all models reachable through the gateway to confirm availability.
2
complete
createChatCompletion
Create a chat completion against the confirmed model.