mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-10 22:41:14 +00:00
fix: persist settings on api.setConfiguration (#2341)
Values weren't being saved to the settings store, preventing switching to newly created profiles. Co-authored-by: Greg Taylor <gregtaylor@netflix.com>
This commit is contained in:
parent
5fb9af40fb
commit
57d97319dc
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue