Skip to content

ThreadReadState

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  1717913179["v2_protocol.ThreadReadState"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 1717913179
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

The first unread position in a durable local thread. A null position means read. The opaque revision guards edits against activity or marks the caller has not seen.

Source code in src/codexed/models/v2_protocol.py
class ThreadReadState(CodexBaseModel):
    """The first unread position in a durable local thread. A null position means read. The opaque revision guards edits against activity or marks the caller has not seen."""

    first_unread: ThreadUnreadPosition | None = None
    revision: str

:fa-brands-github: Show source on GitHub