-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[ENHANCEMENT] maintain the selection of mode and models per project #12034
Description
Problem (one or two sentences)
when using the extension in multiple vscode windows with different project folders (local or remote via remote-ssh), changing the active mode and model affects all windows.
Context (who is affected and when)
Hi All, great extension, keep up the good work!
I use this extension with local models only. some on lemonade server, some with lmstudio, some on mac with olmx. all that works fine.
But in my use case, I often have multiple vscode windows open, some local, some remote via with remote-ssh.
Depending on the project, I use different models on each mode, or even the same model but with a different context size.
With current code, every time I change the mode and/or model I want to use on a particular task, it affects all other vscode windows. not sure when it reads the central configuration, maybe not instantly, but if I reload the window it does change the mode and model to the last one selected on any window.
Desired behavior (conceptual, not technical)
each window (that will have a different folder open, local or remote) should mantain its own selection of mode and models.
I have added some functionaly that resolves this, by creating a .roo/profiles.json file on each project, and this way I can have each window using different mode and models. the list of available models is still central, so I don't have to reconfigure the models on each new project.
Constraints / preferences (optional)
No response
Request checklist
- I've searched existing Issues and Discussions for duplicates
- This describes a specific problem with clear context and impact
Roo Code Task Links (optional)
No response
Acceptance criteria (optional)
when using multiple vscode windows with different project folders open (local or remove via ssh), each window should persist an independent mode and model selection. the locked model for all modes should also be respected.
Proposed approach (optional)
I have implemented some code that persists the model selection on a .roo/profiles.json file, like:
{
"activeMode": "architect",
"architect": "home-qwen35-80BA3B-128k",
"code": "remote-qwen35-122BA10B-256k",
"ask": "home-qwen35-9B-32k",
"lockedProfile": "home-qwen35-9B-32k"
}
lockedProfile is only present if the lock icon is selected.
all profile configuration is still central and shared by all projects.
Trade-offs / risks (optional)
No response