fix: load model_overrides from config and use resolveModelInternal in CLI (#739)

loadConfig() never returned model_overrides, so resolveModelInternal()
could never find per-agent overrides — they were silently ignored.

Additionally, cmdResolveModel duplicated model resolution logic but
skipped the override check entirely. Now delegates to resolveModelInternal
so both code paths behave consistently.

Co-authored-by: Ethan Hurst <ethan.hurst@outlook.com.au>
This commit is contained in:
Ethan Hurst
2026-02-27 18:58:48 +00:00
committed by GitHub
parent 93c9def0ef
commit 31c8a91ee4

Diff Content Not Available