Skip to content

[BUG] Roo Code intelligent context condensing triggering on brand new conversation #8158

@dempsey-ryan

Description

@dempsey-ryan

Problem (one or two sentences)

After only 1 user message, and a very brief description of the problem and next steps, Roo Code gets stuck in a loop of "context condensed"

Context (who is affected and when)

In a brand new task, after asking the AI to do a fairly simple task, while devising a plan and shortly after reading a few files, it gets stuck in a loop of repeatedly condensing the context and not being able to respond.

This is my current settings for intelligent context condensing:

Image

Reproduction steps

  1. Environment/setup
  • running VSCode 1.104.1 on Windows 11
  • connected via SSH to an AWS m5a.xlarge VM running Ubuntu 24.04.2 LTS
  1. tell Roo to do a simple task, e.g., "change the welcome page so it says 'hello coder'". After a brief explanation it will get stuck condensing context for no reason.
Image

Expected result

The task starts and shows progress

Actual result

After briefly summarizing the task, the AI gets caught in a loop of repeatedly condensing the context

Variations tried (optional)

Tried on latest version, tried on older version (3.27.0), and tried multiple anthropic models (4.0 Sonnet, 3.7 Sonnet w/ thinking)

App Version

3.38.3

API Provider (optional)

Anthropic

Model Used (optional)

Claude 4.0 Sonnet

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