Spaces:
Runtime error
Runtime error
File size: 624 Bytes
06ba83e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | from agency_swarm.agents import Agent
class DataCollectorAgent(Agent):
def __init__(self):
super().__init__(
name="DataCollectorAgent",
description="This agent is responsible for gathering market data from various sources, including APIs and databases.",
instructions="./instructions.md",
files_folder="./files",
schemas_folder="./schemas",
tools=[],
tools_folder="./tools",
temperature=0.3,
max_prompt_tokens=25000,
)
def response_validator(self, message):
return message
|