Skip to content

PreservedSegment

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  3903485993["system_messages.PreservedSegment"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3903485993
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Relink info for preserved messages during compaction.

Source code in src/clawd_code_sdk/models/system_messages.py
class PreservedSegment(TypedDict):
    """Relink info for preserved messages during compaction."""

    head_uuid: str
    anchor_uuid: str
    tail_uuid: str

:fa-brands-github: Show source on GitHub