How configuration priority works
mainContent Core resolves configuration using the following priority order (highest to lowest):
- Command flags (e.g.,
--engine) - Environment variables (prefixed with
CCORE_, e.g.,export CCORE_URL_ENGINE=firecrawl) - Config file (
~/.content-core/config.toml) - Defaults
Environment Variables:
To override config file values for a specific session, use the CCORE_ prefix. For example:
export CCORE_URL_ENGINE=firecrawl
export OPENAI_API_KEY=sk-...export CCORE_URL_ENGINE=firecrawl