You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
π Confusing unused _cli_api_key parameter in load_config()Β #75
load_config() in src/config/loader.rs:222 accepts _cli_api_key: Option<&str> but completely ignores it. The CLI API key is only used later in build_llm_config(). The documented priority chain (CLI β env β config β global β defaults) does NOT apply to API keys during config loading.
Impact
Not a bug β build_llm_config() handles it correctly. But the parameter is misleading dead code.
Suggested Fix
Remove the parameter from load_config() or add a comment explaining why it's intentionally unused.
Activity
ajianaz commentedon Jun 1, 2026
Fixed in v0.1.5