Skip to content

ShellToolConfig

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: _ToolConfigBase

Configuration for the shell / exec tool.

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

    type: Literal["shell"] = "shell"

    allow_login_shell: bool | None = None
    """Whether the model may request a login shell."""

allow_login_shell class-attribute instance-attribute

allow_login_shell: bool | None = None

Whether the model may request a login shell.

:fa-brands-github: Show source on GitHub