From c5257ba3b3b8788519d62240f81c6eec9cc46101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=98=E6=9D=83=20=E9=A9=AC?= Date: Wed, 3 Apr 2024 15:23:47 +0800 Subject: [PATCH] feat: remove tool shell_execute --- metagpt/tools/libs/shell.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/metagpt/tools/libs/shell.py b/metagpt/tools/libs/shell.py index 046410f8d..320faf0ea 100644 --- a/metagpt/tools/libs/shell.py +++ b/metagpt/tools/libs/shell.py @@ -6,10 +6,7 @@ import subprocess from pathlib import Path from typing import Dict, List, Tuple, Union -from metagpt.tools.tool_registry import register_tool - -@register_tool(tags=["shell"]) async def shell_execute( command: Union[List[str], str], cwd: str | Path = None, env: Dict = None, timeout: int = 600 ) -> Tuple[str, str, int]: