-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Description
What version of Codex is running?
codex-cli 0.58.0
What subscription do you have?
free
Which model were you using?
GLM-4.5-air
What platform is your computer?
Microsoft Windows NT 10.0.19043.0 x64
What issue are you seeing?
I am using the CodeX for VS Code plugin. After adding a custom model via Config.toml and switching the default model in CodeX CLI, the default model in the plugin still hasn't changed, and the custom model does not appear in the model list. As someone who doesn’t understand code, this is very frustrating. I am really intimidated by command-line interfaces like CodeX CLI.
What steps can reproduce the bug?
Modify the Config.toml file with the following content:
model_provider = "custom"
model = "GLM-4.5-air"
model_reasoning_effort = "high"
disable_response_storage = true
windows_wsl_setup_acknowledged = true
[model_providers.custom]
name = "custom"
wire_api = "responses"
requires_openai_auth = true
base_url = "https://open.bigmodel.cn/api/coding/paas/v4"
Add the secret key in the auth.json file
In VS Code, Reload Window
What is the expected behavior?
I would like to be able to select and switch to my custom model within CodeX for VS Code. If that is difficult to implement, then I hope that at the very least, the default model in CodeX for VS Code can be changed to my custom model based on the configuration in the config.toml file, rather than the custom model being completely unusable in the plugin.
Additional information
No response