Skip to Content

Variable AGENT_RECOVERABLEConst

AGENT_RECOVERABLE: readonly [
    typeof MemcoInvalidRequestError,
    typeof MemcoNotFoundError,
] = ...

The failures a model can act on, and the only ones a tool reports as text.

A malformed request it can correct, and a handle that resolves to nothing it can look for elsewhere. Everything else — a rejected or unscoped credential, a timeout, an unreachable service, a spent quota — is thrown, because no wording a model reads will fix it and letting it read the failure only invites it to try again.