LLM · Error
E_AIGATEWAY_RATE_LIMIT
AI Gateway rate limit reached.
— · Resolution
How to recover
Back off. Add a retry policy.
— · The shape
What an instance looks like
throw new AgentryError({
code: 'E_AIGATEWAY_RATE_LIMIT',
phase: 'init',
message: '…contextual message…',
context: { /* adapter-specific */ },
suggestedFix: 'Back off. Add a retry policy.',
docs: 'https://openagentry.dev/errors/E_AIGATEWAY_RATE_LIMIT',
});
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
-
E_AIGATEWAY_AUTHVercel AI Gateway key missing or rejected. -
E_AIGATEWAY_NOT_FOUNDRequested model not found at the gateway. -
E_AIGATEWAY_NETWORKNetwork failure reaching the gateway. -
E_AIGATEWAY_UPSTREAMGateway returned a non-2xx response. -
E_AIGATEWAY_CONFIG_INVALIDAdapter config failed validation.