Spaces:
Sleeping
Sleeping
File size: 469 Bytes
c2b7eb3 | 1 2 3 4 5 6 7 8 9 10 | import OpenAI$1 from "openai";
import { DynamicTool, ToolRunnableConfig } from "@langchain/core/tools";
import { RunnableFunc } from "@langchain/core/runnables";
//#region src/tools/custom.d.ts
type CustomToolFields = Omit<OpenAI$1.Responses.CustomTool, "type">;
declare function customTool(func: RunnableFunc<string, string, ToolRunnableConfig>, fields: CustomToolFields): DynamicTool<string>;
//#endregion
export { customTool };
//# sourceMappingURL=custom.d.cts.map |