We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ef1cc6 commit 082f09dCopy full SHA for 082f09d
1 file changed
apps/kimi-code/src/tui/kimi-tui.ts
@@ -5124,8 +5124,10 @@ export class KimiTUI {
5124
if (wire === undefined) return;
5125
const baseUrl = catalogBaseUrl(entry, wire);
5126
5127
- // Remove stale provider config first so old model aliases are fully
5128
- // cleared (setConfig patch merge cannot delete nested keys).
+ // Remove stale provider config first: setConfig is a deep-merge patch that
+ // cannot delete keys, and applyCatalogProvider's in-memory cleanup below
5129
+ // does not survive that merge — removeProvider is the only step that
5130
+ // actually drops old model aliases from disk.
5131
const existingConfig = await this.harness.getConfig();
5132
if (existingConfig.providers[providerId] !== undefined) {
5133
await this.harness.removeProvider(providerId);
0 commit comments