Use 'user credits' header to update balance and show user under task header

This commit is contained in:
Saoud Rizwan
2024-08-25 19:52:22 -04:00
parent 79250e9b57
commit ae38713d5b
12 changed files with 89 additions and 24 deletions

View File

@@ -696,6 +696,10 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
return history
}
async updateKoduCredits(credits: number) {
await this.updateGlobalState("koduCredits", credits)
}
// global
private async updateGlobalState(key: GlobalStateKey, value: any) {