openagentry

LLM · Error

E_AIGATEWAY_NOT_FOUND

Requested model not found at the gateway.

Package
@openagentry/adapter-llm-aigateway
Category
llm

— · Resolution

How to recover

Use the form `provider/model` (e.g. anthropic/claude-sonnet-4-6). List available models at vercel.com/ai-gateway.

— · The shape

What an instance looks like

throw new AgentryError({
  code: 'E_AIGATEWAY_NOT_FOUND',
  phase: 'init',
  message: '…contextual message…',
  context: { /* adapter-specific */ },
  suggestedFix: 'Use the form `provider/model` (e.g. anthropic/claude-sonnet-4-6). List available models at vercel.com/ai-gateway.',
  docs: 'https://openagentry.dev/errors/E_AIGATEWAY_NOT_FOUND',
});

The context field carries adapter-specific detail (HTTP status, missing env-var names, validation issues). It never contains secret values.


— · See also

Related codes from @openagentry/adapter-llm-aigateway