cayu.providers.deadlines
Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.
DEFAULT_MAX_CONCURRENT_PROVIDER_STREAMS
Section titled “DEFAULT_MAX_CONCURRENT_PROVIDER_STREAMS”from cayu.providers import DEFAULT_MAX_CONCURRENT_PROVIDER_STREAMSDEFAULT_MAX_CONCURRENT_PROVIDER_STREAMS = 100Release source · Runtime guarantees · Capability guides
ProviderDeadlineKind
Section titled “ProviderDeadlineKind”from cayu.providers import ProviderDeadlineKindBases: StrEnum.
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 |
|---|---|---|
TRANSPORT_IDLE |
class attribute |
'transport_idle' |
PROTOCOL_IDLE |
class attribute |
'protocol_idle' |
SEMANTIC_IDLE |
class attribute |
'semantic_idle' |
ABSOLUTE |
class attribute |
'absolute' |
Release source · Runtime guarantees · Capability guides
ProviderProgressKind
Section titled “ProviderProgressKind”from cayu.providers import ProviderProgressKindBases: StrEnum.
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 |
|---|---|---|
RESPONSE_IDENTITY |
class attribute |
'response_identity' |
REASONING |
class attribute |
'reasoning' |
CONTENT |
class attribute |
'content' |
TOOL_CALL |
class attribute |
'tool_call' |
HOSTED_TOOL |
class attribute |
'hosted_tool' |
CITATION |
class attribute |
'citation' |
USAGE |
class attribute |
'usage' |
TERMINAL |
class attribute |
'terminal' |
Release source · Runtime guarantees · Capability guides
ProviderStreamDeadlineEvidence
Section titled “ProviderStreamDeadlineEvidence”from cayu.providers import ProviderStreamDeadlineEvidenceDecorators: @dataclass(frozen=True, slots=True).
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 |
|---|---|---|
deadline_kind |
ProviderDeadlineKind |
required |
configured_timeout_s |
float |
required |
elapsed_s |
float |
required |
last_progress_kind |
ProviderProgressKind | None |
required |
last_progress_elapsed_s |
float | None |
required |
last_progress_at |
datetime | None |
required |
whitespace_since_progress |
bool |
False |
semantic_idle_elapsed_s |
float | None |
None |
excluded_semantic_pause_s |
float | None |
None |
payload (method)
Section titled “payload (method)”ProviderStreamDeadlineEvidence.payload() -> dict[str, object]Release source · Runtime guarantees · Capability guides
ProviderStreamDeadlines
Section titled “ProviderStreamDeadlines”from cayu.providers import ProviderStreamDeadlinesDecorators: @dataclass(frozen=True, slots=True).
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 |
|---|---|---|
transport_idle_timeout_s |
float |
DEFAULT_TRANSPORT_IDLE_TIMEOUT_SECONDS |
protocol_idle_timeout_s |
float |
DEFAULT_PROTOCOL_IDLE_TIMEOUT_SECONDS |
semantic_progress_timeout_s |
float |
DEFAULT_SEMANTIC_PROGRESS_TIMEOUT_SECONDS |
absolute_stream_timeout_s |
float |
DEFAULT_ABSOLUTE_STREAM_TIMEOUT_SECONDS |
max_concurrent_streams |
int |
field(default=DEFAULT_MAX_CONCURRENT_PROVIDER_STREAMS, compare=False) |