初始化仓库

This commit is contained in:
mmc
2025-09-15 10:04:47 +08:00
commit 87a4a76f1b
2576 changed files with 221250 additions and 0 deletions

19
node_modules/openai/lib/RunnableFunction.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ParsingToolFunction = void 0;
exports.isRunnableFunctionWithParse = isRunnableFunctionWithParse;
function isRunnableFunctionWithParse(fn) {
return typeof fn.parse === 'function';
}
/**
* This is helper class for passing a `function` and `parse` where the `function`
* argument type matches the `parse` return type.
*/
class ParsingToolFunction {
constructor(input) {
this.type = 'function';
this.function = input;
}
}
exports.ParsingToolFunction = ParsingToolFunction;
//# sourceMappingURL=RunnableFunction.js.map