refactor: refactor code by pre-commit
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
from app.tool.python_execute import PythonExecute
|
||||
from app.config import config
|
||||
from app.tool.python_execute import PythonExecute
|
||||
|
||||
|
||||
class NormalPythonExecute(PythonExecute):
|
||||
"""A tool for executing Python code with timeout and safety restrictions."""
|
||||
|
||||
name: str = "python_execute"
|
||||
description: str = (
|
||||
"""Execute Python code for in-depth data analysis / data report(task conclusion) / other normal task without direct visualization."""
|
||||
)
|
||||
description: str = """Execute Python code for in-depth data analysis / data report(task conclusion) / other normal task without direct visualization."""
|
||||
parameters: dict = {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user