AI agent instructions
AI agent instructions
NotteClientConfig.maxRetries, honoring Retry-After). Other 5xx
errors are retried up to SESSION_START_TRIES times. With client
retries disabled, 529 waits CLUSTER_OVERLOAD_RETRY_DELAY_MS instead.
4xx errors are never retried.
Managed-auth sessions wait for readiness by default. Pass
{ wait_for_authentication: false } for an explicit nonblocking start,
then call waitForAuth() before executing actions or connecting over CDP.
Cancellation during creation waits for its response so the new session can
be closed. Cancellation or failure during the startup wait also closes it.
Prefer session.use(async session => { ... }), which also stops the session.
Parameters
SessionStartOptions
Default: