Spaces:
Runtime error
Runtime error
| from agency_swarm.agents import Agent | |
| class WeatherAssistant(Agent): | |
| def __init__(self): | |
| super().__init__( | |
| name="WeatherAssistant", | |
| description="Provide expected weather based on location and date"", | |
| 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 | |