Skip to main content

aexecute

AsyncMethod
This is a method of the CodeAgent class in the code_agent module.
Execute code asynchronously.

Signature

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

Parameters

code
str
required
Code to execute
language
str
default:"'python'"
Programming language **kwargs: Additional options

Returns

Returns
Dict[str, Any]
Execution result dictionary