pub fn apply_cli_session_llm_overrides(
cfg: &mut AppConfig,
session_llm: Option<&SessionLlmConfig>,
) -> EffectiveLlmConfigExpand description
Apply session-style LLM overrides for CLI adapters.
CLI adapters don’t have access to GUI keychain storage, so we resolve API keys from (1) already-loaded config values and (2) environment variables. Apply session-style LLM overrides for CLI adapters.
CLI adapters don’t have access to GUI keychain storage, so we resolve API keys from (1) already-loaded config values and (2) environment variables.
This is a convenience wrapper around apply_session_llm_overrides that provides
a standard CLI API-key lookup strategy.