Skip to content

LoadSessionResponse

Base classes

Name Children Inherits
Response
aclientp.schema.base
Base request model.

⋔ Inheritance diagram

graph TD
  95970861741712["agent_responses.LoadSessionResponse"]
  95970861210848["base.Response"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970861210848 --> 95970861741712
  95970862258240 --> 95970861210848
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: Response

Response from loading an existing session.

Source code in src/aclientp/schema/agent_responses.py
class LoadSessionResponse(Response):
    """Response from loading an existing session."""

    modes: SessionModeState | None = None
    """Initial mode state if supported by the Agent

    See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)
    """

    config_options: Sequence[SessionConfigOption] | None = None
    """The full list of config options with updated values."""

config_options class-attribute instance-attribute

config_options: Sequence[SessionConfigOption] | None = None

The full list of config options with updated values.

modes class-attribute instance-attribute

modes: SessionModeState | None = None

Initial mode state if supported by the Agent

See protocol docs: Session Modes

:fa-brands-github: Show source on GitHub