Preserve configured model options missing from preset catalog#237
Preserve configured model options missing from preset catalog#237garrza wants to merge 1 commit into
Conversation
|
TLDR The bug was this:
The PR adds a small session memory: It is seeded from the configured model when the thread starts. So if the thread starts with gpt-5.5, ACP remembers that raw model ID. The core fix is the picker logic so Codex ACP does not lose a valid configured model just because that model is missing from the current UI preset catalog. The bug happened when source 1 had gpt-5.5, but source 2 did not. Important guardrail: if a model does exist in the preset catalog but has show_in_picker = false, we still hide it after switching away. So the PR does not bypass intentional hidden model behavior. |
|
Hi thanks for taking the time to dig in! |
Summary
Fixes #236
Testing
cargo testcargo clippy --all-targets -- -D warnings