Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/advanced-usage/rate-limits-costs.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ For reasoning-capable models (for example, Gemini 3 Pro Preview and other models

To further help manage API costs and prevent unexpected expenses, Roo Code includes a "Max Requests" setting for auto-approved actions. This allows you to define a specific limit on how many consecutive API calls Roo Code can make without requiring your explicit re-approval during a task.

**Unlimited behavior:** Leaving this field blank means **Unlimited** (no request-count limit). In the underlying settings JSON this is stored as `null`.

* **How it works:** If you set a limit (e.g., 5 requests), Roo Code will perform up to 5 auto-approved API calls. Before making the 6th call, it will pause and prompt you to "Reset and Continue," as shown below.
<img src="/img/v3.18.0/v3.18.0-1.png" alt="Warning message indicating the auto-approved request limit has been reached." width="600" />
*Notification when the auto-approved request limit is met.*
Expand Down
2 changes: 2 additions & 0 deletions docs/features/auto-approving-actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ The settings panel mirrors the same permissions with additional context and safe
- Mode switching is only auto‑approved when the mode-switch permission is enabled (covers switching to another mode and creating new modes).
- After auto‑writes, Roo waits using the global write‑delay control under Settings → Context Management → Diagnostics.

**Auto-approve limits:** You can cap how many consecutive auto-approved requests Roo can make (and optionally cap cost). See [Rate Limits and Costs](/advanced-usage/rate-limits-costs#limiting-auto-approved-requests) for details.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link target (Rate Limits and Costs) currently documents the Max Requests limit, but not a cost cap, so saying "optionally cap cost" reads like the section covers Max Cost too. Consider either adding Max Cost details to that section, or remove the cost-cap mention here to avoid overpromising.

Suggested change
**Auto-approve limits:** You can cap how many consecutive auto-approved requests Roo can make (and optionally cap cost). See [Rate Limits and Costs](/advanced-usage/rate-limits-costs#limiting-auto-approved-requests) for details.
**Auto-approve limits:** You can cap how many consecutive auto-approved requests Roo can make. See [Rate Limits and Costs](/advanced-usage/rate-limits-costs#limiting-auto-approved-requests) for details.

Fix it with Roo Code or mention @roomote and request a fix.


### Read Operations

:::info Read Operations (Risk: Medium)
Expand Down