Values weren't being saved to the settings store, preventing switching to newly created profiles. Co-authored-by: Greg Taylor <[email protected]>
@@ -172,6 +172,7 @@ export class API extends EventEmitter<RooCodeEvents> implements RooCodeAPI {
public async setConfiguration(values: RooCodeSettings) {
await this.sidebarProvider.setValues(values)
+ await this.sidebarProvider.providerSettingsManager.saveConfig(values.currentApiConfigName || "default", values)
await this.sidebarProvider.postStateToWebview()
}