Skip to content

SessionModeState

Base classes

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

⋔ Inheritance diagram

graph TD
  95970861619504["session_state.SessionModeState"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970861619504
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

The set of modes and the one currently active.

Source code in src/aclientp/schema/session_state.py
class SessionModeState(AnnotatedObject):
    """The set of modes and the one currently active."""

    available_modes: Sequence[SessionMode]
    """The set of modes that the Agent can operate in."""

    current_mode_id: str
    """The current mode the Agent is in."""

available_modes instance-attribute

available_modes: Sequence[SessionMode]

The set of modes that the Agent can operate in.

current_mode_id instance-attribute

current_mode_id: str

The current mode the Agent is in.

:fa-brands-github: Show source on GitHub