AI SDK v6 and Gateway routing
The AI integration was upgraded from Vercel AI SDK v4 to v6 and rebuilt around the Vercel AI Gateway. Provider requests no longer go through per-provider classes — they are routed through the Gateway using provider/model strings (for example anthropic/claude-haiku-4-5). A single AI_GATEWAY_API_KEY now covers all four providers (Anthropic, OpenAI, Google, xAI); on Vercel, keyless OIDC also works.
Provider failover is now handled server-side by the Gateway and is opt-in: it activates only when AI_GATEWAY_FALLBACK_MODELS lists fallback models. The previous client-side fallback chain was removed.