Skip to content

cayu.sessions.ForkSystemPromptPolicy

Part of cayu.sessions.base. Read the Python API overview and install the required extra.

from cayu.sessions import ForkSystemPromptPolicy

Select which body’s system prompt becomes authoritative in a session fork.

Bases: StrEnum.

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
INHERIT_SOURCE class attribute 'inherit_source'
CURRENT_AGENT class attribute 'current_agent'

Release source · Runtime guarantees · Capability guides