Skip to content

ApplyPatchToolConfig

Base classes

Name Children Inherits
_ToolConfigBase
codexed.models.tool_config
Base for individual tool configuration models.

⋔ Inheritance diagram

graph TD
  71381334["tool_config.ApplyPatchToolConfig"]
  4259177097["tool_config._ToolConfigBase"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  4259177097 --> 71381334
  3879467795 --> 4259177097
  2751680898 --> 3879467795

🛈 DocStrings

Bases: _ToolConfigBase

Configuration for the apply_patch tool.

Source code in src/codexed/models/tool_config.py
class ApplyPatchToolConfig(_ToolConfigBase):
    """Configuration for the apply_patch tool."""

    type: Literal["apply_patch"] = "apply_patch"

    variant: Literal["freeform", "function"] | None = None
    """Patch format variant."""

variant class-attribute instance-attribute

variant: Literal['freeform', 'function'] | None = None

Patch format variant.

:fa-brands-github: Show source on GitHub