修改了conf.json的读取路径

This commit is contained in:
lik
2026-09-13 11:40:42 +08:00
parent 41bf2ce638
commit cd284e3459
7 changed files with 37 additions and 22 deletions
+1 -1
View File
@@ -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 ({
+1 -1
View File
@@ -1,7 +1,7 @@
import { TavilySearch } 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 webSearchTool = tool(
async ({