execute
Method
This is a method of the CodeAgent class in the code_agent module.Execute code in sandboxed environment.
Signature
Parameters
Code to execute
Programming language **kwargs: Additional execution options
Returns
Dictionary with stdout, stderr, return_code, and execution_time
Used By
CodeAgent.execute_codeCodeAgent.aexecuteMiddlewareManager.execute_model_callMiddlewareManager.execute_tool_callHookRunner.execute_sync
Source
View on GitHub
praisonaiagents/agent/code_agent.py at line 217
