Ultimate

X_AI_GATEWAY_MISSING

Means

an llm() action ran with no gateway installed

Typical cause

no aiGateway in apps/<app>/runtime.ts

Fix

apps/<app>/runtime.ts: export const runtime = { aiGateway: providerGateway({ providers: [provider] }) } — in a test, installAiGateway(gateway) from @ultimat3/ai/adapter — any provider: the Anthropic format, the OpenAI format (any compatible server), or your own

Listed under MCP and AI

This page as markdown