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

Method runFunctions

out/cli.cjs:82887–82895  ·  view source on GitHub ↗

@deprecated - please use `runTools` instead.

(client, params, options)

Source from the content-addressed store, hash-verified

82885// node_modules/openai/lib/ChatCompletionStreamingRunner.mjs
82886var ChatCompletionStreamingRunner = class _ChatCompletionStreamingRunner extends ChatCompletionStream {
82887 static fromReadableStream(stream4) {
82888 const runner = new _ChatCompletionStreamingRunner(null);
82889 runner._run(() => runner._fromReadableStream(stream4));
82890 return runner;
82891 }
82892 /** @deprecated - please use `runTools` instead. */
82893 static runFunctions(client, params, options) {
82894 const runner = new _ChatCompletionStreamingRunner(null);
82895 const opts = {
82896 ...options,
82897 headers: { ...options?.headers, "X-Stainless-Helper-Method": "runFunctions" }
82898 };

Callers

nothing calls this directly

Calls 2

_runFunctionsMethod · 0.80
_runMethod · 0.45

Tested by

no test coverage detected