You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: veadk/tools/builtin_tools/execute_skills.py
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -71,19 +71,18 @@ def execute_skills(
71
71
workflow_prompt: str,
72
72
skills: Optional[List[str]] =None,
73
73
tool_context: ToolContext=None,
74
-
timeout: int=900,
75
74
) ->str:
76
75
"""execute skills in a code sandbox and return the output.
77
76
For C++ code, don't execute it directly, compile and execute via Python; write sources and object files to /tmp.
78
77
79
78
Args:
80
79
workflow_prompt (str): instruction of workflow
81
80
skills (Optional[List[str]]): The skills will be invoked
82
-
timeout (int, optional): The timeout in seconds for the code execution, less than or equal to 900. Defaults to 900.
83
81
84
82
Returns:
85
83
str: The output of the code execution.
86
84
"""
85
+
timeout=900# The timeout in seconds for the code execution, less than or equal to 900. Defaults to 900. Hard-coded to prevent the Agent from adjusting this parameter.
0 commit comments