Expand description
Config file support: ~/.recursive/config.toml
Priority chain: CLI flag > env var > config file > hardcoded default. The config file is optional — if absent, we gracefully fall back.
Structs§
- Agent
Section - [agent] section.
- File
Config - Top-level deserialized structure of config.toml.
- Provider
Section - [provider] section.
Functions§
- config_
file_ path - Return the path to the global config file: ~/.recursive/config.toml. Returns None if the home directory cannot be determined.
- set_
value - Write a dotted key=value to ~/.recursive/config.toml. Supports dotted keys like “provider.model”, “agent.max_steps”. Creates the file and parent directory if needed.