Skip to content

Commit

Permalink
feat: update base agent tools
Browse files Browse the repository at this point in the history
  • Loading branch information
jezekra1 committed Oct 21, 2024
1 parent 94d6e0c commit efe7d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit efe7d6a

Please sign in to comment.