Spaces:
Runtime error
Runtime error
Download DataCollectorAgent/DataCollectorAgent.py from varun324242/agent1: direct link, hf CLI and curl.
- Browser
- Download file 624 Bytes
-
https://huggingface.co/spaces/varun324242/agent1/resolve/main/DataCollectorAgent/DataCollectorAgent.py
- Command line
-
hf download hf://spaces/varun324242/agent1/DataCollectorAgent/DataCollectorAgent.py
-
curl -L -o DataCollectorAgent.py https://huggingface.co/spaces/varun324242/agent1/resolve/main/DataCollectorAgent/DataCollectorAgent.py
624 Bytes
| 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 | |