Skip to content

AvailableCommandsUpdate

Base classes

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

⋔ Inheritance diagram

graph TD
  95970848359072["session_updates.AvailableCommandsUpdate"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970848359072
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Available commands are ready or have changed.

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

    session_update: Literal["available_commands_update"] = Field(
        default="available_commands_update", init=False
    )
    """Available commands are ready or have changed."""

    available_commands: Sequence[AvailableCommand]
    """Commands the agent can execute"""

available_commands instance-attribute

available_commands: Sequence[AvailableCommand]

Commands the agent can execute

session_update class-attribute instance-attribute

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

Available commands are ready or have changed.

:fa-brands-github: Show source on GitHub