Skip to main content

Module config

Module config 

Source

Structs§

AgentsConfig
Config
Top-level .botbox.toml config.
DevAgentConfig
MissionsConfig
ModelsConfig
Model tier configuration for cross-provider load balancing.
MultiLeadConfig
ProjectConfig
ResponderAgentConfig
ReviewConfig
ReviewerAgentConfig
ToolsConfig
WorkerAgentConfig

Constants§

CONFIG_JSON
CONFIG_TOML
Config file name constants.
CONFIG_TOML_LEGACY
Legacy config name from the botbox era — accepted on read, migrated to CONFIG_TOML on sync.

Functions§

find_config
Find the config file path, preferring the current name over legacy names. Returns None if none exist.
find_config_in_project
Find config in the standard locations: direct path, then ws/default/. Returns (config_path, config_dir) or an error.
json_to_toml
Convert a JSON config string to TOML format. Used during migration from .botbox.json to .botbox.toml.