Feat : integration of searxng for private, api free web search

This commit is contained in:
martin legrand
2025-03-17 13:31:43 +01:00
parent e358fd4df7
commit dee4db53fe
15 changed files with 5763 additions and 8 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
from sources.utility import pretty_print, animate_thinking
from sources.agents.agent import Agent
from sources.tools.webSearch import webSearch
from sources.tools.searxSearch import searxSearch
from sources.tools.flightSearch import FlightSearch
from sources.tools.fileFinder import FileFinder
from sources.tools.BashInterpreter import BashInterpreter
@@ -13,7 +13,7 @@ class CasualAgent(Agent):
"""
super().__init__(model, name, prompt_path, provider)
self.tools = {
"web_search": webSearch(),
"web_search": searxSearch(),
"flight_search": FlightSearch(),
"file_finder": FileFinder(),
"bash": BashInterpreter()