openagentry

LLM · Error

E_LLM_CLI_AUTH

The CLI binary refused authentication or has no credentials configured.

Package
@openagentry/adapter-llm-cli
Category
llm

— · Resolution

How to recover

Log in via the CLI directly (e.g. `claude` will prompt). The adapter does not manage credentials.

— · The shape

What an instance looks like

throw new AgentryError({
  code: 'E_LLM_CLI_AUTH',
  phase: 'init',
  message: '…contextual message…',
  context: { /* adapter-specific */ },
  suggestedFix: 'Log in via the CLI directly (e.g. `claude` will prompt). The adapter does not manage credentials.',
  docs: 'https://openagentry.dev/errors/E_LLM_CLI_AUTH',
});

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-cli