You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,8 @@ The entire extension's logic is contained within the `CopilotTokenTracker` class
40
40
-`CopilotTokenTracker`: The main class.
41
41
-`calculateDetailedStats()`: The primary data aggregation method.
42
42
-`getDetailsHtml()`: The method responsible for rendering the webview's HTML content. All styling is inlined within this method's template string.
43
-
-**`src/tokenEstimators.json`**: Character-to-token ratio estimators for different AI models. To add or modify token estimation for a model, update this file.
44
-
-**`src/modelPricing.json`**: Model pricing data with input/output costs per million tokens. Includes metadata about pricing sources and last update date. To update pricing, modify this file.
43
+
-**`src/README.md`**: **IMPORTANT**: Contains detailed instructions for updating the JSON data files. Always consult this file when updating tokenEstimators.json or modelPricing.json. It includes structure definitions, update procedures, and current pricing information.
44
+
-**`src/tokenEstimators.json`**: Character-to-token ratio estimators for different AI models. See `src/README.md` for update instructions.
45
+
-**`src/modelPricing.json`**: Model pricing data with input/output costs per million tokens. Includes metadata about pricing sources and last update date. See `src/README.md` for detailed update instructions and current pricing sources.
45
46
-**`package.json`**: Defines activation events, commands, and build scripts.
46
47
-**`esbuild.js`**: The build script that bundles the TypeScript source and JSON data files.
0 commit comments