Switching to Grok Official clears config.toml: Grok Build
Quick fix
Upgrade to 4.0. The maintainer said the new version preserves other settings in config.toml.
Symptom
Section titled “Symptom”切换到 Grok Official,原有 `config.toml` 内容被清空。After switching to Grok Official, the existing `config.toml` contents were cleared.
In CC Switch 3.20.4, the Grok Official form hid the configuration area, but the switching logic still wrote the empty configuration stored in the entry (`{"config":""}`) to `~/.grok/config.toml`, overwriting its existing contents. The maintainer said version 4.0 rewrote configuration writes: switching to the Grok Build provider changes only `models.default` and the model table written by CC Switch; switching to Grok Official removes the previously written third-party model table and no longer overwrites the entire file with an empty configuration.
Upgrade to 4.0. The maintainer said the new version preserves other settings in config.toml; the reply did not say whether this fix was verified in later versions.
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.