优化了agent

This commit is contained in:
lik
2026-10-31 18:51:20 +08:00
parent ab584c5fa8
commit 02d57f82dc
22 changed files with 193 additions and 155 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { tool } from 'langchain';
import * as z from 'zod';
import { tool } from "@langchain/core/tools";
import { z } from "zod";
import { safeFetch } from './http_client.js';
const BAIDU_MAP_HOST = 'api.map.baidu.com';