nat.tool.code_execution.register#
Attributes#
Classes#
Tool for executing python code in a remotely hosted sandbox environment. |
Functions#
|
Module Contents#
- logger#
- class CodeExecutionToolConfig#
Bases:
nat.data_models.function.FunctionBaseConfigTool for executing python code in a remotely hosted sandbox environment.
- uri: pydantic.HttpUrl = None#
- sandbox_type: Literal['local', 'piston'] = None#
- async code_execution_tool(
- config: CodeExecutionToolConfig,
- builder: nat.builder.builder.Builder,