Skip to content

ConfigBatchWriteParams

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  324132658["v2_protocol.ConfigBatchWriteParams"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 324132658
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class ConfigBatchWriteParams(CodexBaseModel):
    edits: list[ConfigEdit]
    expected_version: str | None = None
    file_path: str | None = None
    """
    Path to the config file to write; defaults to the user's `config.toml` when omitted.
    """
    reload_user_config: bool | None = None
    """
    When true, hot-reload updated runtime settings into loaded threads after writing. Session-static model, reasoning-effort, Plan-mode reasoning-effort, and service-tier defaults are not reloaded. The deprecated personality setting is also not reloaded.
    """

file_path class-attribute instance-attribute

file_path: str | None = None

Path to the config file to write; defaults to the user's config.toml when omitted.

reload_user_config class-attribute instance-attribute

reload_user_config: bool | None = None

When true, hot-reload updated runtime settings into loaded threads after writing. Session-static model, reasoning-effort, Plan-mode reasoning-effort, and service-tier defaults are not reloaded. The deprecated personality setting is also not reloaded.

:fa-brands-github: Show source on GitHub