Skip to content

AgentMessageCursorAnchor

Base classes

Name Children Inherits
CursorMessageAnchor
aclientp.schema.cursors
**UNSTABLE**: A cursor anchored to a message; ``type`` names the kind of message.

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CursorMessageAnchor

UNSTABLE: The cursor is next to an agent message.

Source code in src/aclientp/schema/cursors.py
class AgentMessageCursorAnchor(CursorMessageAnchor):
    """**UNSTABLE**: The cursor is next to an agent message."""

    type: Literal["agent_message"] = Field(default="agent_message", init=False)

:fa-brands-github: Show source on GitHub