Support for dynamically switching custom models during operation

Resolved 💬 3 comments Opened Oct 28, 2025 by africa1207 Closed Dec 6, 2025

What feature would you like to see?

Currently, I have customized the provider and model, but during usage, the /model endpoint always returns the hardcoded gpt-5 and gpt-5-codex, preventing dynamic retrieval of the custom models. To switch models, you have to exit codex and modify the configuration, or use codex -m my-model or -p, which is quite inconvenient. Additionally, when using the VS Code plugin, you must close and reopen VS Code for changes to take effect. Why can't the models be retrieved dynamically, and why isn't there a way to display these models dynamically within the VS Code plugin?

Additional information

It is possible to dynamically access custom models, switch between them in real-time via /model, and display these models within the VS Code plugin with seamless, real-time toggling.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗