Skip to main content

execute_code

Method
This is a method of the CodeAgent class in the code_agent module.
Alias for execute() method.

Signature

def execute_code(code: str, language: str) -> Dict[str, Any]

Parameters

code
str
required
No description available.
language
str
default:"'python'"
No description available.

Returns

Returns
Dict[str, Any]
The result of the operation.