Skip to content

[FEATURE][vscode] Track token usage from sub-agent calls in Copilot agent mode #567

@tianzheng-zhou

Description

@tianzheng-zhou

Feature Request

When using GitHub Copilot's agent mode in VS Code, the extension does not appear to track token usage from sub-agent calls. Only the main agent's token consumption is recorded, while tokens consumed by sub-agents are missing from the statistics.

Expected Behavior

All token usage should be captured, including tokens consumed by sub-agents invoked during an agent mode session.

Current Behavior

Sub-agent token usage is not reflected in the usage statistics, leading to underreported total token consumption.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions