Skip to content

[ENHANCEMENT] Support CoPilot provider natively to optimize credit usage #11289

@wtfzambo

Description

@wtfzambo

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)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions