Skip to content

ForkSessionResponse

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: Response from forking an existing session.

Source code in src/aclientp/schema/v2/sessions.py
class ForkSessionResponse(AnnotatedObject):
    """**UNSTABLE**: Response from forking an existing session."""

    session_id: SessionId
    """Unique identifier for the newly created forked session."""

    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.

session_id instance-attribute

session_id: SessionId

Unique identifier for the newly created forked session.

:fa-brands-github: Show source on GitHub