Feat : better file system interaction

This commit is contained in:
martin legrand
2025-03-09 12:45:29 +01:00
parent 06d207da53
commit 7710fb3f9d
13 changed files with 204 additions and 50 deletions
+3 -1
View File
@@ -4,6 +4,7 @@ from sources.agents.agent import Agent
from sources.tools.webSearch import webSearch
from sources.tools.flightSearch import FlightSearch
from sources.tools.fileFinder import FileFinder
from sources.tools.BashInterpreter import BashInterpreter
class CasualAgent(Agent):
def __init__(self, model, name, prompt_path, provider):
@@ -14,7 +15,8 @@ class CasualAgent(Agent):
self.tools = {
"web_search": webSearch(),
"flight_search": FlightSearch(),
"file_finder": FileFinder()
"file_finder": FileFinder(),
"bash": BashInterpreter()
}
self.role = "talking"