feat: keep provider records on switch, only mark active; filter on save

This commit is contained in:
KimiSwitch Dev
2026-07-08 14:25:05 +08:00
parent 8c515f42dc
commit 155efdf9f3
6 changed files with 32 additions and 20 deletions
+2
View File
@@ -22,6 +22,8 @@ export interface Provider {
managed?: boolean;
/** Whether the provider is enabled/activated. */
enabled?: boolean;
/** Whether this provider is the currently active one for Kimi Code. */
active?: boolean;
/** Extra agent-specific provider fields preserved across edits. */
raw_other?: unknown;
}