()
| 67 | } |
| 68 | |
| 69 | async removeTrace() { |
| 70 | await super.removeTrace(); |
| 71 | if (this.api instanceof ChatConversationAPI) { |
| 72 | if ((this.api.constructor as ChatConversationAPIType).canRemoveFromServer) |
| 73 | await this.api.removeFromServer().catch(() => { /* Ignore error */ }); |
| 74 | this.api.session = null; |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | async sendHistoryAndGetResponse(options) { |
| 79 | const apiOptions = { |
no test coverage detected