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