Fix : searxng now failing gracefully

This commit is contained in:
martin legrand
2025-03-18 12:17:41 +01:00
parent 0616f39e35
commit 372da19f30
4 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -3,7 +3,7 @@ from sources.utility import pretty_print, animate_thinking
from sources.agents.agent import Agent
from sources.agents.code_agent import CoderAgent
from sources.agents.file_agent import FileAgent
from sources.agents.casual_agent import CasualAgent
from sources.agents.browser_agent import BrowserAgent
from sources.tools.tools import Tools
class PlannerAgent(Agent):
@@ -19,9 +19,9 @@ class PlannerAgent(Agent):
self.agents = {
"coder": CoderAgent(model, name, prompt_path, provider),
"file": FileAgent(model, name, prompt_path, provider),
"web": CasualAgent(model, name, prompt_path, provider)
"web": BrowserAgent(model, name, prompt_path, provider)
}
self.role = "complex programming tasks and web research"
self.role = "Manage complex tasks"
self.tag = "json"
def parse_agent_tasks(self, text):