joaomorossini's picture
Add new agents and tools for Devid and BrowsingAgent; remove obsolete ResearchAndReportAgent
670dd87
raw
history blame contribute delete
501 Bytes
from pydantic import Field
from agency_swarm import BaseTool
class CheckCurrentDir(BaseTool):
"""
This tool checks the current directory path.
"""
chain_of_thought: str = Field(
...,
description="Please think step-by-step about what you need to do next, after checking current directory to solve the task.",
exclude=True,
)
class ToolConfig:
one_call_at_a_time: bool = True
def run(self):
import os
return os.getcwd()