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

Method finalContent

out/cli.cjs:81857–81860  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

81855 if (!completion)
81856 throw new OpenAIError("stream ended without producing a ChatCompletion");
81857 return completion;
81858 }
81859 /**
81860 * @returns a promise that resolves with the content of the final ChatCompletionMessage, or rejects
81861 * if an error occurred or the stream ended prematurely without producing a ChatCompletionMessage.
81862 */
81863 async finalContent() {

Callers

nothing calls this directly

Calls 2

__classPrivateFieldGet10Function · 0.85
doneMethod · 0.45

Tested by

no test coverage detected