ai.clients.Retry

class in the ai package.

Reference version

Signature

class ai.clients.Retry

Source:<builtin>/ai/ns_clients/clients.bamlbytes 651211285

Fields

max_attempts

int

Static methods

Instance methods

Implementations

ai.Client for ai.clients.Retry

Instance methods

function

id

(self) -> string
function

render

(
self,
) -> baml.http.Request throws baml.errors.Timeout | baml.errors.UnknownError | reflect.errors.CompilationError | ai.errors.Failure

Rendering is a pure preview of the inner client. It deliberately does not apply retry policy or backoff because no request is sent.

Source:<builtin>/ai/ns_clients/clients.bamlbytes 81929142