minor fixes

This commit is contained in:
martin legrand 2025-03-23 21:08:34 +01:00
parent 9448ac1012
commit e74bbe4044
2 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,7 @@ class BrowserAgent(Agent):
self.tools = {
"web_search": searxSearch(),
}
self.role = "Web surfing, website & news"
self.role = "Web search and navigation"
self.type = "browser_agent"
self.browser = Browser()
self.current_page = ""

View File

@ -18,14 +18,13 @@ class CasualAgent(Agent):
"file_finder": FileFinder(),
"bash": BashInterpreter()
}
self.role = "talk, quick search"
self.role = "talk"
self.type = "casual_agent"
def process(self, prompt, speech_module) -> str:
complete = False
self.memory.push('user', prompt)
self.wait_message(speech_module)
while not complete:
animate_thinking("Thinking...", color="status")
answer, reasoning = self.llm_request()