Execute Code • AI Agent SDK

execute_code: Alias for execute() method.

execute_code

Method

</div>

This is a method of the CodeAgent class in the code_agent module.

Alias for execute() method.

Signature

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

Parameters

ParamField str

No description available.

ParamField str

No description available.

Returns

ResponseField Dict[str, Any]

The result of the operation.

Uses

  • execute

Source

View on GitHub

praisonaiagents/agent/code_agent.py at line 252


Related Documentation