AI agent instructions
AI agent instructions
Fields
Default per-request timeout in milliseconds. Defaults to 60 000, like the Python SDK.
Maximum CAPTCHA wait in seconds, separate from each HTTP timeout. Defaults to 180.
Retries for transient failures (502, 503, 504, 529, and connection
errors), with exponential backoff and full jitter.
Retry-After is
honored. POST and PATCH requests are only retried when the API cannot
have processed them (503, 529, connection refused), so they are never
applied twice. A 529 marked X-Error-Class: WorkerRequestTimeout (an API
worker did not answer in time) is treated like a 504. All attempts share
the request timeout. Defaults to 3;
0 disables retries.