cayu.runtime.config_inspection
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.
EffectiveConfigurationField
Section titled “EffectiveConfigurationField”from cayu import EffectiveConfigurationFieldOne resolved non-secret value and its semantic provenance.
Bases: BaseModel, Generic[_ValueT].
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 |
|---|---|---|
value |
_ValueT |
required |
owner |
str |
required |
source |
CayuConfigSource |
required |
Release source · Runtime guarantees · Capability guides
EffectiveRunConfiguration
Section titled “EffectiveRunConfiguration”from cayu import EffectiveRunConfigurationRedacted effective run controls and the exact durable profile they produce.
The record intentionally excludes messages, metadata, callbacks, policies, and
source inputs. execution_profile is the Runtime’s already-redacted durable
identity computed by the same preflight used for session admission.
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 |
|---|---|---|
max_steps |
EffectiveConfigurationField[StrictInt] |
required |
limits |
EffectiveConfigurationField[EffectiveRunLimits] |
required |
retry_policy |
EffectiveConfigurationField[RetryPolicy] |
required |
thinking |
EffectiveConfigurationField[ThinkingConfig | None] |
required |
execution_profile |
ExecutionProfileIdentity |
required |
detach_execution_profile (method)
Section titled “detach_execution_profile (method)”EffectiveRunConfiguration.detach_execution_profile(value: object) -> ExecutionProfileIdentityRelease source · Runtime guarantees · Capability guides
EffectiveRunLimits
Section titled “EffectiveRunLimits”from cayu import EffectiveRunLimitsImmutable projection of the mutable request-building RunLimits type.
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 |
|---|---|---|
max_input_tokens |
StrictInt | None |
None |
max_output_tokens |
StrictInt | None |
None |
max_total_tokens |
StrictInt | None |
None |
max_tool_calls |
StrictInt | None |
None |
max_elapsed_seconds |
StrictInt | None |
None |
scope |
Literal['session', 'run'] |
'run' |