Skip to content

ConfigOptionUpdate

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: AnnotatedObject

A session configuration option value has changed.

The full set of configuration options and their current values is sent on every change. Clients should replace their cached list entirely.

See protocol docs: Session Config Options <https://agentclientprotocol.com/protocol/session-config-options>_

Source code in src/aclientp/schema/session_updates.py
class ConfigOptionUpdate(AnnotatedObject):
    """A session configuration option value has changed.

    The full set of configuration options and their current values is sent
    on every change. Clients should replace their cached list entirely.

    See protocol docs: `Session Config Options <https://agentclientprotocol.com/protocol/session-config-options>`_
    """

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

    config_options: Sequence[SessionConfigOption]
    """The full set of configuration options and their current values."""

config_options instance-attribute

config_options: Sequence[SessionConfigOption]

The full set of configuration options and their current values.

:fa-brands-github: Show source on GitHub