-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Problem (one or two sentences)
The setting to assign a different model for context condensing fails to persist after being selected in the menu. Even after saving, the selection reverts to the default primary model, preventing the use of a secondary, cost-effective model for summarization.
Context (who is affected and when)
This affects users who want to use a powerful model (like Claude 4.5 Sonnet) for coding while offloading the summarization of chat history to a faster, cheaper model (like Gemini 1.5 Flash). The issue occurs during the configuration phase in the Context settings menu.
Reproduction steps
- Open Roo Code and click the gear icon to access Settings.
- Navigate to the Context pane.
- Locate the API Configuration for Context Condensing dropdown and select a non-default API profile.
- Verify that Automatically trigger intelligent context condensing is enabled.
- Close the settings panel or use the
Developer: Reload Windowcommand in VS Code. - Re-open the settings and check if the selection remained.
Expected result
The specific API configuration selected for context condensing should stay saved and be used for all future summarization triggers in that profile
Actual result
The dropdown menu reverts to the default primary configuration, and the intended condensing model is never utilized
Variations tried (optional)
I have attempted to toggle the automatic trigger checkbox on and off before selecting the model, and I tried adjusting the Context Threshold percentage to force a state update, but the model selection still reverts. I also checked the ui_state.json file in VS Code's globalStorage, where the change appears not to be written or is being overwritten upon app initialization.
App Version
Version: 3.41.3 (23717fb)
API Provider (optional)
None
Model Used (optional)
No response
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
[Settings] Failed to persist contextCondensingConfigId to globalState.
[Storage] Overwriting ui_state.json with default profile values.Metadata
Metadata
Assignees
Labels
Type
Projects
Status