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

Method createChatCompletion

out/cli.cjs:82437–82441  ·  view source on GitHub ↗
(client, params, options)

Source from the content-addressed store, hash-verified

82435 * Note that messages sent to the model do not appear in `.on('message')`
82436 * in this context.
82437 */
82438 static fromReadableStream(stream4) {
82439 const runner = new _ChatCompletionStream(null);
82440 runner._run(() => runner._fromReadableStream(stream4));
82441 return runner;
82442 }
82443 static createChatCompletion(client, params, options) {
82444 const runner = new _ChatCompletionStream(params);

Callers 1

streamMethod · 0.80

Calls 2

_runChatCompletionMethod · 0.80
_runMethod · 0.45

Tested by

no test coverage detected