refactor: refactor code by pre-commit

This commit is contained in:
ZJU_czx
2025-04-22 18:54:22 +08:00
parent 3928a5dc8b
commit f162d629a6
9 changed files with 22 additions and 29 deletions
+1 -3
View File
@@ -10,9 +10,7 @@ class PythonExecute(BaseTool):
"""A tool for executing Python code with timeout and safety restrictions."""
name: str = "python_execute"
description: str = (
"Executes Python code string. Note: Only print outputs are visible, function return values are not captured. Use print statements to see results."
)
description: str = "Executes Python code string. Note: Only print outputs are visible, function return values are not captured. Use print statements to see results."
parameters: dict = {
"type": "object",
"properties": {