Skip to content

CursorMessageAnchor

Sub classes

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

          Base classes

          Name Children Inherits
          AnnotatedObject
          aclientp.schema.v2.base
          A v2 object with the ``_meta`` extension point.

          ⋔ Inheritance diagram

          graph TD
            95970868601056["cursors.CursorMessageAnchor"]
            95970868359040["base.AnnotatedObject"]
            95970855946400["base.Schema"]
            95970851503232["main.BaseModel"]
            125067848591872["builtins.object"]
            95970868359040 --> 95970868601056
            95970855946400 --> 95970868359040
            95970851503232 --> 95970855946400
            125067848591872 --> 95970851503232

          🛈 DocStrings

          Bases: AnnotatedObject

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

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

          message_id instance-attribute

          message_id: MessageId
          

          The anchored message.

          position instance-attribute

          On which side of the message the cursor is.

          :fa-brands-github: Show source on GitHub