(delta)
| 79 | |
| 80 | // Append html to the pending message. |
| 81 | appendHtmlToPendingMessage(delta) { |
| 82 | if (!this.hasPendingMessage) |
| 83 | throw new Error('There is no pending message.'); |
| 84 | this.pushJavaScript(`window.appendHtmlToPendingMessage(${JSON.stringify(delta)})`); |
| 85 | } |
| 86 | |
| 87 | // Append internal steps. |
| 88 | appendSteps(steps: (ChatStep | string)[]) { |
no test coverage detected