Skip to content

[BUG] Using Roo Code from multiple projects at the same time causes problem #9071

@tapir

Description

@tapir

Problem (one or two sentences)

Global Roo Code state causes confusion

Context (who is affected and when)

I had 2 different VSCode projects open, in one of them I've created a new API config with the model GLM (openrouter), selected it and started a task, while the task was running, in the second project I've created a new API config with Kimi K2 and started another task. I've noticed while both projects were working, the context window for both tasks became 1.0M which is impossible since none of these models support that and by the end of the tasks, in both projects, Claude (which is my default API config) was selected.

Reproduction steps

Open up 2 different VSCode projects.
In project one: create a new API configuration with model X. Run a YOLO long running task.
In project two: create another API configuration with model Y. Run a YOLO long running task.

Expected result

Both tasks starts and ends with their respective seleced new API configs

Actual result

API config selected gets mixed up

Variations tried (optional)

No response

App Version

v3.30.2

API Provider (optional)

OpenRouter

Model Used (optional)

GLM 4.6 and Kimi K2

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions