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

Method createMessage

out/cli.cjs:70239–70246  ·  view source on GitHub ↗
(messages, params, options)

Source from the content-addressed store, hash-verified

70237 * Note that messages sent to the model do not appear in `.on('message')`
70238 * in this context.
70239 */
70240 static fromReadableStream(stream4) {
70241 const runner = new _MessageStream();
70242 runner._run(() => runner._fromReadableStream(stream4));
70243 return runner;
70244 }
70245 static createMessage(messages, params, options) {
70246 const runner = new _MessageStream();
70247 for (const message of params.messages) {
70248 runner._addMessageParam(message);
70249 }

Callers 1

streamMethod · 0.80

Calls 3

_addMessageParamMethod · 0.95
_runMethod · 0.95
_createMessageMethod · 0.95

Tested by

no test coverage detected