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

Method runFunctions

out/cli.cjs:82142–82150  ·  view source on GitHub ↗

@deprecated - please use `runTools` instead.

(client, params, options)

Source from the content-addressed store, hash-verified

82140 }
82141}, _AbstractChatCompletionRunner_stringifyFunctionCallResult = function _AbstractChatCompletionRunner_stringifyFunctionCallResult2(rawContent2) {
82142 return typeof rawContent2 === "string" ? rawContent2 : rawContent2 === void 0 ? "undefined" : JSON.stringify(rawContent2);
82143};
82144
82145// node_modules/openai/lib/ChatCompletionRunner.mjs
82146var ChatCompletionRunner = class _ChatCompletionRunner extends AbstractChatCompletionRunner {
82147 /** @deprecated - please use `runTools` instead. */
82148 static runFunctions(client, params, options) {
82149 const runner = new _ChatCompletionRunner();
82150 const opts = {
82151 ...options,
82152 headers: { ...options?.headers, "X-Stainless-Helper-Method": "runFunctions" }
82153 };

Callers

nothing calls this directly

Calls 2

_runFunctionsMethod · 0.80
_runMethod · 0.45

Tested by

no test coverage detected