Skip to content

PlanMarkdown

Base classes

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

⋔ Inheritance diagram

graph TD
  95970857293168["agent_plan.PlanMarkdown"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970857293168
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: A plan made of raw markdown content.

Source code in src/aclientp/schema/agent_plan.py
class PlanMarkdown(AnnotatedObject):
    """**UNSTABLE**: A plan made of raw markdown content."""

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

    plan_id: PlanId
    """The plan ID to update."""

    content: str
    """Markdown content for the plan."""

    path: str | None = None
    """The absolute path of the file that holds this plan."""

content instance-attribute

content: str

Markdown content for the plan.

path class-attribute instance-attribute

path: str | None = None

The absolute path of the file that holds this plan.

plan_id instance-attribute

plan_id: PlanId

The plan ID to update.

:fa-brands-github: Show source on GitHub