-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
App Version
v3.25.4
API Provider
Google Gemini
Model Used
gemini-2.5-pro
Roo Code Task Links (Optional)
https://app.roocode.com/share/696ff2fa-ce3d-4247-b994-d8e607b1d403
π Steps to Reproduce
01. Setup
- OS: Ubuntu 24.04.2 LTS
- Roo Code Version: v3.25.4
- Roo Code Settings:
β AskMode.
2. Exact Actions & Outcomes
-
[ Case A ]
-
Action 01: Ask a question that results in a conversational response from the agent. So the agent doesn't need any internal tool to use for this prompt. For example, ask "how to master problem solving?".
-
Outcome 01: The agent provides same ans three times in a row, so making API request three times for a single prompt.
-
[ Case B ]
-
Action 02: Reply with a prompt that requires minimum one internal tool to use by the agent. Such as "why u r generating same ans three times in a row? So, u r making API request thrice for a single prompt, when it could be done through only one?". This prompt requires
<ask_followup_question>tool to use.
Outcome 02: Agent provides ans one time only.
π₯ Outcome Summary
Roo Code has a strict rule. It must use one of its available tools in every single response. These tools are things like ask_followup_question, read_file, codebase_search etc.
Sometimes, a simple conversational answer doesn't naturally require a tool. When Roo Code provides a response without wrapping it in a tool, its internal system flags it as an error. It then forces the agent to "retry" the turn, and it goes on until one of the tools needs to be used.
π Relevant Logs or Errors (Optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status