Feat : improve prompt, add agent verbose option

This commit is contained in:
martin legrand
2025-03-24 14:41:24 +01:00
parent d423c08440
commit 323783b89e
10 changed files with 40 additions and 35 deletions
+2 -2
View File
@@ -7,11 +7,11 @@ from sources.agents.browser_agent import BrowserAgent
from sources.tools.tools import Tools
class PlannerAgent(Agent):
def __init__(self, model, name, prompt_path, provider):
def __init__(self, name, prompt_path, provider, verbose=False):
"""
The planner agent is a special agent that divides and conquers the task.
"""
super().__init__(model, name, prompt_path, provider)
super().__init__(name, prompt_path, provider, verbose)
self.tools = {
"json": Tools()
}