-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Problem (one or two sentences)
RooCode currently treats agent tool calls as billable premium requests when using GitHub Copilot via the OpenAI-compatible provider.
This results in unnecessary credit consumption compared to other extensions that correctly distinguish between user-initiated and agent-initiated API calls.
Context (who is affected and when)
This affects users who utilize GitHub Copilot as their primary LLM provider.
When the agent performs multi-step tasks or calls various tools, each internal interaction is being billed against the user's monthly "premium request" quota because the necessary headers to identify agent activity are missing or inconsistent.
Desired behavior (conceptual, not technical)
RooCode should natively support GitHub Copilot to ensure that only direct user interactions count as premium requests.
The extension should correctly identify and flag agent-generated tool calls so they are handled as non-billable background tasks, matching the efficiency found in tools like OpenCode.
Constraints / preferences (optional)
-
Billing Accuracy: Ensure compliance with GitHub’s definition of premium requests.
-
Header Implementation: Implementation should likely involve specific headers to differentiate user vs. agent traffic (referencing similar fixes in OpenCode issue #8030).
Request checklist
- I've searched existing Issues and Discussions for duplicates
- This describes a specific problem with clear context and impact
Roo Code Task Links (optional)
No response
Acceptance criteria (optional)
No response
Proposed approach (optional)
No response
Trade-offs / risks (optional)
No response