SIGN IN SIGN UP
farion1231 / cc-switch UNCLAIMED

A cross-platform desktop All-in-One assistant tool for Claude Code, Codex, OpenCode, openclaw & Gemini CLI.

0 0 126 Rust

feat: preserve user-selected catalog model in Codex Chat requests

When Codex client sends a model from the catalog (e.g., user selected via /model),
preserve that choice instead of always replacing with config.toml's default model.

- Check if request model exists in modelCatalog before falling back to config model
- Remove CODEX_CHAT_CLIENT_MODEL constant (no longer needed)
- Add test coverage for catalog model preservation
J
Jason committed
2a4651a21e9a3f8f041409d9e1fb0878e8c0c7fc
Parent: 9b95782