cayu.sessions.SessionInspectionSummary
Part of cayu.sessions.base. Read the Python API overview and install the required extra.
from cayu.sessions import SessionInspectionSummaryBounded backend-neutral diagnostic overview for one durable session.
Bases: BaseModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
session |
SessionInspectionIdentity |
required |
transcript |
SerializedRecordSummary |
required |
events |
SerializedRecordSummary |
required |
usage |
SessionInspectionUsageSummary |
required |
model_calls |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
model_calls_with_usage |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
tool_calls |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
pending_action_count |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
pending_action_kinds |
tuple[PendingActionKind, ...] |
() |
pending_action_issue_count |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
queued_message_count |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
delivered_message_count |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
outstanding_message_count |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
operation_event_count |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
terminal_failure_state |
Literal['none', 'failed', 'interrupted'] |
required |
budget |
SessionBudgetInspection |
required |