Skip to content

ThreadItemEntry

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class ThreadItemEntry(CodexBaseModel):
    completed_at_ms: int | None = None
    """
    Unix timestamp (milliseconds) when the item completed, if recorded by the producer.
    """
    item: ThreadItem
    output_deferred: bool | None = None
    """
    The saved output was omitted. Fetch the complete item with `thread/items/read`.
    """
    started_at_ms: int | None = None
    """
    Unix timestamp (milliseconds) when the item started, if recorded by the producer.
    """
    turn_id: str
    """
    Turn containing this item.
    """

completed_at_ms class-attribute instance-attribute

completed_at_ms: int | None = None

Unix timestamp (milliseconds) when the item completed, if recorded by the producer.

output_deferred class-attribute instance-attribute

output_deferred: bool | None = None

The saved output was omitted. Fetch the complete item with thread/items/read.

started_at_ms class-attribute instance-attribute

started_at_ms: int | None = None

Unix timestamp (milliseconds) when the item started, if recorded by the producer.

turn_id instance-attribute

turn_id: str

Turn containing this item.

:fa-brands-github: Show source on GitHub