Skip to content

ThreadSettingsUpdateParams

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class ThreadSettingsUpdateParams(CodexBaseModel):
    approval_policy: AskForApproval | None = None
    """
    Override the approval policy for subsequent turns.
    """
    approvals_reviewer: ApprovalsReviewer | None = None
    """
    Override where approval requests are routed for subsequent turns.
    """
    collaboration_mode: CollaborationMode | None = None
    """
    EXPERIMENTAL - Set a pre-set collaboration mode for subsequent turns.

    For `collaboration_mode.settings.developer_instructions`, `null` means "use the built-in instructions for the selected mode".
    """
    cwd: str | None = None
    """
    Override the working directory for subsequent turns.
    """
    disabled_plugin_ids: list[str] | None = None
    """
    Replace this thread's disabled plugin IDs. Omitted/null preserves the list; [] clears it.
    """
    effort: ReasoningEffort | None = None
    """
    Override the reasoning effort for subsequent turns.
    """
    environments: list[TurnEnvironmentParams] | None = None
    """
    Replace the environments for future turns without changing the running turn. Omitted/null preserves the selection unless `cwd` is also provided, which selects the default environments for that directory. [] clears the selection.
    """
    model: str | None = None
    """
    Override the model for subsequent turns.
    """
    multi_agent_mode: MultiAgentMode | None = None
    """
    @deprecated Ignored. Use `effort: "ultra"` for proactive multi-agent behavior.
    """
    permissions: str | None = None
    """
    Select a named permissions profile id for subsequent turns. Cannot be combined with `sandboxPolicy`.
    """
    personality: Personality | None = None
    """
    @deprecated `friendly` and `pragmatic` no longer select a style. Changing this does not rewrite the thread's existing instructions.
    """
    sandbox_policy: SandboxPolicy | None = None
    """
    Override the sandbox policy for subsequent turns.
    """
    service_tier: str | None = None
    """
    Override the service tier for subsequent turns. `null` clears the current service tier; omission leaves it unchanged.
    """
    summary: ReasoningSummary | None = None
    """
    Override the reasoning summary for subsequent turns.
    """
    thread_id: str

approval_policy class-attribute instance-attribute

approval_policy: AskForApproval | None = None

Override the approval policy for subsequent turns.

approvals_reviewer class-attribute instance-attribute

approvals_reviewer: ApprovalsReviewer | None = None

Override where approval requests are routed for subsequent turns.

collaboration_mode class-attribute instance-attribute

collaboration_mode: CollaborationMode | None = None

EXPERIMENTAL - Set a pre-set collaboration mode for subsequent turns.

For collaboration_mode.settings.developer_instructions, null means "use the built-in instructions for the selected mode".

cwd class-attribute instance-attribute

cwd: str | None = None

Override the working directory for subsequent turns.

disabled_plugin_ids class-attribute instance-attribute

disabled_plugin_ids: list[str] | None = None

Replace this thread's disabled plugin IDs. Omitted/null preserves the list; [] clears it.

effort class-attribute instance-attribute

effort: ReasoningEffort | None = None

Override the reasoning effort for subsequent turns.

environments class-attribute instance-attribute

environments: list[TurnEnvironmentParams] | None = None

Replace the environments for future turns without changing the running turn. Omitted/null preserves the selection unless cwd is also provided, which selects the default environments for that directory. [] clears the selection.

model class-attribute instance-attribute

model: str | None = None

Override the model for subsequent turns.

multi_agent_mode class-attribute instance-attribute

multi_agent_mode: MultiAgentMode | None = None

@deprecated Ignored. Use effort: "ultra" for proactive multi-agent behavior.

permissions class-attribute instance-attribute

permissions: str | None = None

Select a named permissions profile id for subsequent turns. Cannot be combined with sandboxPolicy.

personality class-attribute instance-attribute

personality: Personality | None = None

@deprecated friendly and pragmatic no longer select a style. Changing this does not rewrite the thread's existing instructions.

sandbox_policy class-attribute instance-attribute

sandbox_policy: SandboxPolicy | None = None

Override the sandbox policy for subsequent turns.

service_tier class-attribute instance-attribute

service_tier: str | None = None

Override the service tier for subsequent turns. null clears the current service tier; omission leaves it unchanged.

summary class-attribute instance-attribute

summary: ReasoningSummary | None = None

Override the reasoning summary for subsequent turns.

:fa-brands-github: Show source on GitHub