Custom fields lost after saving: configuration rebuilt to default template Codex
Quick fix
No verifiable solution is available. This duplicate report should be followed through the main issue's fix progress.
Symptom
Section titled “Symptom”导入确认窗口中可以看到完整配置,但确认保存后,编辑 provider 时配置被重建成了默认模板,自定义字段丢失。The import confirmation window shows the complete configuration, but after confirming and saving, editing the provider rebuilds the configuration to the default template and loses custom fields.
In cc-switch 3.16.1 on macOS, importing a Codex provider through `ccswitch://v1/import` shows the complete custom Codex TOML configuration in the import preview. However, after confirming and saving, editing the provider again rebuilds the configuration from the default template. The report specifically lists `supports_websockets` and `responses_websockets_v2`, `multi_agent`, and `unified_exec` under `[features]` as lost fields.
Maintainers marked this report as a duplicate of another main issue and asked users to follow its fix progress. This post provides no verified fix, and a closed issue alone does not confirm the problem is fixed.
No verifiable solution is available in the original post. Keep reproduction details and follow the merged main issue as requested by the maintainer. If the scenario differs materially, add details and reopen this report.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
(No FAQ yet)
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.