Skip to content

Commit 6e0b914

Browse files
committed
updated instructions to find the json file docs
1 parent 3667924 commit 6e0b914

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/copilot-instructions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ The entire extension's logic is contained within the `CopilotTokenTracker` class
4040
- `CopilotTokenTracker`: The main class.
4141
- `calculateDetailedStats()`: The primary data aggregation method.
4242
- `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.
4546
- **`package.json`**: Defines activation events, commands, and build scripts.
4647
- **`esbuild.js`**: The build script that bundles the TypeScript source and JSON data files.

0 commit comments

Comments
 (0)