mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
feat: remove tool shell_execute
This commit is contained in:
parent
e2de8131cf
commit
c5257ba3b3
1 changed files with 0 additions and 3 deletions
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue