Skip to content

AgentThoughtCursorAnchor

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
  95970861622960["cursors.AgentThoughtCursorAnchor"]
  95970859744112["cursors.CursorMessageAnchor"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970859744112 --> 95970861622960
  95970862258240 --> 95970859744112
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: CursorMessageAnchor

UNSTABLE: The cursor is next to an agent thought.

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

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

:fa-brands-github: Show source on GitHub