If you encounter issues with the GitHub Copilot Token Tracker extension, the best way to get support is by creating a well-documented bug report in the GitHub Issues section of this repository.
When creating a new issue, please include the following information to help us understand and resolve your problem quickly:
- VS Code Version: Help > About (e.g., Version: 1.95.0)
- Extension Version: Check in Extensions view or Help > About
- Operating System: Windows, macOS, or Linux with version
- Issue Description: Clear description of what's happening vs. what you expected
Use the "Diagnostic Report" feature in the extension to gather relevant system and extension information. This can be accessed via the details page.
We have seen before that there are no sessions and tokens being reported. In that case, try out to enable the "Copilot Chat Debug View":
- Steps to Reproduce: Detailed steps to recreate the issue
- Screenshots: If applicable, include screenshots of the problem
- Log Files: Any relevant error messages from VS Code Developer Console (Help > Toggle Developer Tools)
- Token Usage Data: Mention if the issue relates to specific token counts or model usage
Before reporting, please check if your issue is related to these known limitations mentioned in the README:
- Numbers are based on local log files only (multi-machine usage not tracked)
- Premium Request Units are not tracked by this extension, only their token usage is included
- Token counts are estimates based on character count from the chat sessions stored on disk
- Extension currently tested primarily on Windows, found something? Report an issue in the repo: https://github.com/rajbos/github-copilot-token-usage
Feature requests are also welcome! Please use the same issue tracker and clearly label your request as a feature request with a detailed description of the proposed functionality.
If you're interested in contributing to the project, please check for existing issues or create a new one to discuss your proposed changes before submitting a pull request.
