pub fn build_provider_config(
cli_config: &CliConfig,
cli_args: &CliArgs,
) -> AiConfigExpand description
Build an AiConfig by merging CLI args, config file, and defaults.
Priority (highest first):
- CLI argument (
--model) - Config file (
~/.oy-ai-agent/config.toml) - Hardcoded default
api_key is required: if none of the sources provide it, the process exits.