Configuration
CLI configuration file and environment variables.
The CLI reads configuration from multiple sources, in order of precedence:
- Command-line flags
- Environment variables (prefixed with
OCSIDIAN_) - Project config (
.ocsidian/settings.json) - Global config (
~/.ocsidian/config.json)
Environment variables
| Variable | Description |
|---|---|
OCSIDIAN_API_KEY | API key for authentication |
OCSIDIAN_MODEL | Default model (fast, pro, ultra) |
OCSIDIAN_ENGINE_PATH | Path to Unreal Engine installation |
OCSIDIAN_LOG_LEVEL | Log verbosity (debug, info, warn, error) |
Global config file
{
"defaultModel": "pro",
"telemetry": true,
"editor": {
"theme": "obsidian-dark",
"fontSize": 14,
"tabSize": 4
},
"engine": {
"path": "/path/to/UnrealEngine",
"version": "5.5"
}
}