Skip to content

AvailableCommandsUpdate

Base classes

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

⋔ Inheritance diagram

graph TD
  95970869752064["session_updates.AvailableCommandsUpdate"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970869752064
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

The available commands are ready or have changed.

Source code in src/aclientp/schema/v2/session_updates.py
class AvailableCommandsUpdate(AnnotatedObject):
    """The available commands are ready or have changed."""

    session_update: Literal["available_commands_update"] = Field(
        default="available_commands_update", init=False
    )

    available_commands: Sequence[AvailableCommand]
    """All commands the agent can execute."""

available_commands instance-attribute

available_commands: Sequence[AvailableCommand]

All commands the agent can execute.

:fa-brands-github: Show source on GitHub