MCPcopy
hub / github.com/di-sukharev/opencommit / finalText

Method finalText

out/cli.cjs:70375–70378  ·  view source on GitHub ↗

* @returns a promise that resolves with the the final assistant Message's text response, concatenated * together if there are more than one text blocks. * Rejects if an error occurred or the stream ended prematurely without producing a Message.

()

Source from the content-addressed store, hash-verified

70373 await this.done();
70374 return __classPrivateFieldGet7(this, _MessageStream_instances, "m", _MessageStream_getFinalMessage).call(this);
70375 }
70376 /**
70377 * @returns a promise that resolves with the the final assistant Message's text response, concatenated
70378 * together if there are more than one text blocks.
70379 * Rejects if an error occurred or the stream ended prematurely without producing a Message.
70380 */
70381 async finalText() {

Callers

nothing calls this directly

Calls 2

doneMethod · 0.95
__classPrivateFieldGet7Function · 0.85

Tested by

no test coverage detected