Minor refactoring

This commit is contained in:
Saoud Rizwan
2024-07-23 06:38:34 -04:00
parent 9e5a475a2a
commit 5c283bc711
3 changed files with 13 additions and 12 deletions

View File

@@ -205,6 +205,7 @@ export class SidebarProvider implements vscode.WebviewViewProvider {
this.claudeDev?.handleWebviewAskResponse(message.askResponse!, message.text)
break
case "clearTask":
// newTask will start a new task with a given task text, while clear task resets the current session and allows for a new task to be started
await this.clearTask()
await this.postStateToWebview()
break