(id: string)
| 1938 | } |
| 1939 | |
| 1940 | async showTaskWithId(id: string) { |
| 1941 | if (id !== this.getCurrentTask()?.taskId) { |
| 1942 | // Non-current task. |
| 1943 | const { historyItem } = await this.getTaskWithId(id) |
| 1944 | await this.createTaskWithHistoryItem(historyItem) // Clears existing task. |
| 1945 | } |
| 1946 | |
| 1947 | await this.postMessageToWebview({ type: "action", action: "chatButtonClicked" }) |
| 1948 | } |
| 1949 | |
| 1950 | async exportTaskWithId(id: string) { |
| 1951 | const { historyItem, apiConversationHistory } = await this.getTaskWithId(id) |
no test coverage detected