Spaces:
Runtime error
Runtime error
Update docstring to specify execution environment as Linux terminal
Browse files- src/tools.py +1 -2
src/tools.py
CHANGED
|
@@ -3,12 +3,11 @@ from __future__ import annotations
|
|
| 3 |
__all__ = ["execute_terminal"]
|
| 4 |
|
| 5 |
import subprocess
|
| 6 |
-
from typing import Final
|
| 7 |
|
| 8 |
|
| 9 |
def execute_terminal(command: str, *, timeout: int = 3) -> str:
|
| 10 |
"""
|
| 11 |
-
Execute a shell command in a
|
| 12 |
Use this tool to run various commands.
|
| 13 |
|
| 14 |
The command is executed with network access enabled. Output from both
|
|
|
|
| 3 |
__all__ = ["execute_terminal"]
|
| 4 |
|
| 5 |
import subprocess
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
def execute_terminal(command: str, *, timeout: int = 3) -> str:
|
| 9 |
"""
|
| 10 |
+
Execute a shell command in a Linux terminal.
|
| 11 |
Use this tool to run various commands.
|
| 12 |
|
| 13 |
The command is executed with network access enabled. Output from both
|