()
| 891 | // API Messages |
| 892 | |
| 893 | private async getSavedApiConversationHistory(): Promise<ApiMessage[]> { |
| 894 | return readApiMessages({ taskId: this.taskId, globalStoragePath: this.globalStoragePath }) |
| 895 | } |
| 896 | |
| 897 | private async addToApiConversationHistory(message: Anthropic.MessageParam, reasoning?: string) { |
| 898 | this.apiConversationHistory.push( |
no test coverage detected