Skip to content

ResumeSessionResponse

Base classes

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

⋔ Inheritance diagram

graph TD
  95970867943488["sessions.ResumeSessionResponse"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970867943488
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Response from resuming an existing session.

The agent sends a current state_update after any requested replay (ended by replay_complete) and before this response.

Source code in src/aclientp/schema/v2/sessions.py
class ResumeSessionResponse(AnnotatedObject):
    """Response from resuming an existing session.

    The agent sends a current ``state_update`` after any requested replay (ended by
    ``replay_complete``) and before this response.
    """

    config_options: Sequence[SessionConfigOption] | MISSING = MISSING
    """Initial session configuration options."""

    available_commands: Sequence[AvailableCommand] | MISSING = MISSING
    """Initial commands the agent can execute in this session."""

available_commands class-attribute instance-attribute

available_commands: Sequence[AvailableCommand] | MISSING = MISSING

Initial commands the agent can execute in this session.

config_options class-attribute instance-attribute

config_options: Sequence[SessionConfigOption] | MISSING = MISSING

Initial session configuration options.

:fa-brands-github: Show source on GitHub