From efe7d6a6e7a2e10186d8da95294533eb00b71da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Je=C5=BEek?= Date: Mon, 21 Oct 2024 09:50:55 -0700 Subject: [PATCH] feat: update base agent tools --- src/agent.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agent.ts b/src/agent.ts index 108793c..1f0365e 100644 --- a/src/agent.ts +++ b/src/agent.ts @@ -6,13 +6,13 @@ import { OpenMeteoTool } from "bee-agent-framework/tools/weather/openMeteo"; import * as process from "node:process"; import { getChatLLM } from "./helpers/llm.js"; import { getPrompt } from "./helpers/prompt.js"; -import { WikipediaTool } from "bee-agent-framework/tools/search/wikipedia"; +import { DuckDuckGoSearchTool } from "bee-agent-framework/tools/search/duckDuckGoSearch"; const llm = getChatLLM(); const agent = new BeeAgent({ llm, memory: new TokenMemory({ llm }), - tools: [new OpenMeteoTool(), new WikipediaTool()], + tools: [new OpenMeteoTool(), new DuckDuckGoSearchTool({ retryOptions: { maxRetries: 5 } })], }); try {