Settings
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BaseModel pydantic.main !!! abstract "Usage Documentation" |
⋔ Inheritance diagram¶
graph TD
107846717030160["config.Settings"]
107846697802608["main.BaseModel"]
137699722799616["builtins.object"]
107846697802608 --> 107846717030160
137699722799616 --> 107846697802608
🛈 DocStrings¶
Bases: BaseModel
Contents of config.toml.
Source code in src/acptui/config.py
additional_directories
class-attribute
instance-attribute
¶
More workspace roots for every session (if the agent supports it).
agent_options
class-attribute
instance-attribute
¶
Initial session config options per agent id (also for built-in agents).
agents
class-attribute
instance-attribute
¶
agents: dict[str, UserAgent] = Field(default_factory=dict)
User-defined agents; an id of a built-in agent replaces it.
default_agent
class-attribute
instance-attribute
¶
Agent to start when acptui is run without one (instead of the picker).
diff_view
class-attribute
instance-attribute
¶
diff_view: DiffViewMode = 'auto'
How diffs are shown.
expand_thoughts
class-attribute
instance-attribute
¶
Show agent thoughts expanded instead of collapsed.
mcp_servers
class-attribute
instance-attribute
¶
mcp_servers: list[McpServerConfig] = Field(default_factory=list)
MCP servers passed to every session (if the agent supports the transport).
system_prompt
class-attribute
instance-attribute
¶
Extra system instructions for every session (if the agent supports it).
system_prompt_mode
class-attribute
instance-attribute
¶
Append to the agent's own instructions, or replace them (if supported).
all_agents
¶
all_agents() -> list[AgentSpec]
Built-in and user agents; user agents override built-in ones with the same id.