pub fn load_config() -> Result<Config, ConfigError>Expand description
Loads the merged configuration from the process environment, config.json, and the OS keyring.
This function handles the precedence of configuration sources:
- Environment variables (highest priority).
config.jsonfile.- OS Keyring (for secrets).
ยงErrors
Returns an error if API_BASE_URL is not set or if there are issues reading token files.