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

Method _addMessage

out/cli.cjs:82160–82165  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

82158 const runner = new _ChatCompletionRunner();
82159 const opts = {
82160 ...options,
82161 headers: { ...options?.headers, "X-Stainless-Helper-Method": "runTools" }
82162 };
82163 runner._run(() => runner._runTools(client, params, opts));
82164 return runner;
82165 }
82166 _addMessage(message) {
82167 super._addMessage(message);
82168 if (isAssistantMessage(message) && message.content) {

Callers

nothing calls this directly

Calls 3

isAssistantMessageFunction · 0.85
_addMessageMethod · 0.45
_emitMethod · 0.45

Tested by

no test coverage detected