修改了conf.json的读取路径
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { TavilyExtract } from "@langchain/tavily";
|
||||
import { tool } from "@langchain/core/tools";
|
||||
import * as z from "zod"
|
||||
import config from "../../../../conf.json" with { type: "json" };
|
||||
import config from "../../../../config.js";
|
||||
|
||||
const webFetchTool = tool(
|
||||
async ({
|
||||
|
||||
Reference in New Issue
Block a user