Spaces:
Sleeping
Sleeping
Download agents/base_agent.py from Teacher-AI/Version1: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/spaces/Teacher-AI/Version1/resolve/main/agents/base_agent.py
- Command line
-
hf download hf://spaces/Teacher-AI/Version1/agents/base_agent.py
-
curl -L -o base_agent.py https://huggingface.co/spaces/Teacher-AI/Version1/resolve/main/agents/base_agent.py
200 Bytes
| class BaseAgent: | |
| def __init__(self, name): | |
| self.name = name | |
| def process(self, *args, **kwargs): | |
| raise NotImplementedError("Each agent must implement the process method.") |