We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f73d904 commit 7223285Copy full SHA for 7223285
1 file changed
vscode-extension/src/extension.ts
@@ -7844,7 +7844,7 @@ export async function activate(context: vscode.ExtensionContext) {
7844
context,
7845
log: (m: string) => tokenTracker.log(m),
7846
warn: (m: string) => tokenTracker.warn(m),
7847
- updateTokenStats: () => void tokenTracker.updateTokenStats(),
+ updateTokenStats: async () => { await tokenTracker.updateTokenStats(); },
7848
calculateEstimatedCost: (modelUsage: ModelUsage) => tokenTracker.calculateEstimatedCost(modelUsage),
7849
7850
0 commit comments