Skip to content

Gemini grounding is stuck in a loop #6503

@makar-al

Description

@makar-al

App Version

3.25.4

API Provider

Google Gemini

Model Used

Gemini 2.5 Pro

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

  1. Enable grounding
  2. Send request in "Ask" mode (I asked to search for tailwind official docs and to tell me how to set up theme for v4)
  3. Observe Gemini thinking, giving response, thinking again, giving the same response and so on until "Roo is having trouble..." error is thrown.

💥 Outcome Summary

Expected Roo to send the request, print the response and then stop, but got a (potentially endless) request-response cycle.

📄 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