openagentry

LLM · Error

E_OPENROUTER_NOT_FOUND

Model not found on OpenRouter.

Package
@openagentry/adapter-llm-openrouter
Category
llm

— · Resolution

How to recover

List models with `listModels()` or check https://openrouter.ai/models.

— · The shape

What an instance looks like

throw new AgentryError({
  code: 'E_OPENROUTER_NOT_FOUND',
  phase: 'init',
  message: '…contextual message…',
  context: { /* adapter-specific */ },
  suggestedFix: 'List models with `listModels()` or check https://openrouter.ai/models.',
  docs: 'https://openagentry.dev/errors/E_OPENROUTER_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-openrouter