MCPcopy Create free account
hub / github.com/chieapp/chie / appendHtmlToPendingMessage

Method appendHtmlToPendingMessage

src/view/messages-view.ts:81–85  ·  view source on GitHub ↗
(delta)

Source from the content-addressed store, hash-verified

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)[]) {

Callers 1

#onMessageDeltaMethod · 0.80

Calls 1

pushJavaScriptMethod · 0.80

Tested by

no test coverage detected