mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Fixes two issues causing profile rename to silently fail: 1. Backend (webviewMessageHandler.ts): The renameApiConfiguration handler previously required message.apiConfiguration from the webview, which could be stale or fail Zod validation. Now loads the stored config directly from ProviderSettingsManager.getProfile(), making the rename self-contained on the backend. 2. Frontend (SettingsView.tsx): Removed premature prevApiConfigName.current update that short-circuited the useEffect responsible for syncing cachedState after rename. Also removed the now-unnecessary apiConfiguration from the posted message. Closes #12360 |
||
|---|---|---|
| .. | ||
| audio | ||
| public | ||
| src | ||
| .gitignore | ||
| components.json | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||