ai.events.LLMCall

class in the ai package.

Reference version

Signature

class ai.events.LLMCall

Source:<builtin>/ai/ns_events/events.bamlbytes 4282–4939

Fields

client_name

string

provider

string

http_request

baml.http.Request | null

selected

bool

failure

ai.errors.Failure | baml.errors.Timeout | null

The typed failure on an unsuccessful retry/fallback leg. Retains diagnostics even when there is no HTTP status or HTTP response.