Skip to content

CursorMessageAnchor

Sub classes

Name Children Inherits
UserMessageCursorAnchor
aclientp.schema.cursors
**UNSTABLE**: The cursor is next to a user message.
    AgentMessageCursorAnchor
    aclientp.schema.cursors
    **UNSTABLE**: The cursor is next to an agent message.
      AgentThoughtCursorAnchor
      aclientp.schema.cursors
      **UNSTABLE**: The cursor is next to an agent thought.
        SessionMessageCursorAnchor
        aclientp.schema.cursors
        **UNSTABLE**: The cursor is next to a session-directed message.

          Base classes

          Name Children Inherits
          AnnotatedObject
          aclientp.schema.base
          Base class for generated models.

          ⋔ Inheritance diagram

          graph TD
            95970859744112["cursors.CursorMessageAnchor"]
            95970862258240["base.AnnotatedObject"]
            95970862254416["base.Schema"]
            95970851503232["main.BaseModel"]
            125067848591872["builtins.object"]
            95970862258240 --> 95970859744112
            95970862254416 --> 95970862258240
            95970851503232 --> 95970862254416
            125067848591872 --> 95970851503232

          🛈 DocStrings

          Bases: AnnotatedObject

          UNSTABLE: A cursor anchored to a message; type names the kind of message.

          Source code in src/aclientp/schema/cursors.py
          class CursorMessageAnchor(AnnotatedObject):
              """**UNSTABLE**: A cursor anchored to a message; ``type`` names the kind of message."""
          
              message_id: str
              """The ID of the anchored message."""
          
              position: CursorAnchorPosition
              """On which side of the message the cursor is."""
          

          message_id instance-attribute

          message_id: str
          

          The ID of the anchored message.

          position instance-attribute

          On which side of the message the cursor is.

          :fa-brands-github: Show source on GitHub