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

Method finalMessage

out/cli.cjs:81865–81868  ·  view source on GitHub ↗

* @returns a promise that resolves with the the final assistant ChatCompletionMessage response, * or rejects if an error occurred or the stream ended prematurely without producing a ChatCompletionMessage.

()

Source from the content-addressed store, hash-verified

81863 async finalContent() {
81864 await this.done();
81865 return __classPrivateFieldGet10(this, _AbstractChatCompletionRunner_instances, "m", _AbstractChatCompletionRunner_getFinalContent).call(this);
81866 }
81867 /**
81868 * @returns a promise that resolves with the the final assistant ChatCompletionMessage response,
81869 * or rejects if an error occurred or the stream ended prematurely without producing a ChatCompletionMessage.
81870 */
81871 async finalMessage() {

Callers

nothing calls this directly

Calls 2

__classPrivateFieldGet10Function · 0.85
doneMethod · 0.45

Tested by

no test coverage detected