Spaces:
Paused
Paused
Download python/tools/unknown.py from OnyxMunk/GravityFalls: direct link, hf CLI and curl.
- Browser
- Download file 426 Bytes
-
https://huggingface.co/spaces/OnyxMunk/GravityFalls/resolve/c425c4043529634171dcfbb3aa5a94de613d28a8/python/tools/unknown.py
- Command line
-
hf download hf://spaces/OnyxMunk/GravityFalls@c425c4043529634171dcfbb3aa5a94de613d28a8/python/tools/unknown.py
-
curl -L -o unknown.py https://huggingface.co/spaces/OnyxMunk/GravityFalls/resolve/c425c4043529634171dcfbb3aa5a94de613d28a8/python/tools/unknown.py
426 Bytes
| from python.helpers.tool import Tool, Response | |
| from python.helpers import files | |
| class Unknown(Tool): | |
| def execute(self, **kwargs): | |
| return Response( | |
| message=files.read_file("prompts/fw.tool_not_found.md", | |
| tool_name=self.name, | |
| tools_prompt=files.read_file("prompts/agent.tools.md")), | |
| break_loop=False) | |