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

Method runTools

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

Source from the content-addressed store, hash-verified

82894 const runner = new _ChatCompletionStreamingRunner(null);
82895 const opts = {
82896 ...options,
82897 headers: { ...options?.headers, "X-Stainless-Helper-Method": "runFunctions" }
82898 };
82899 runner._run(() => runner._runFunctions(client, params, opts));
82900 return runner;
82901 }
82902 static runTools(client, params, options) {
82903 const runner = new _ChatCompletionStreamingRunner(
82904 // @ts-expect-error TODO these types are incompatible
82905 params
82906 );
82907 const opts = {
82908 ...options,
82909 headers: { ...options?.headers, "X-Stainless-Helper-Method": "runTools" }
82910 };

Callers

nothing calls this directly

Calls 2

_runToolsMethod · 0.80
_runMethod · 0.45

Tested by

no test coverage detected