coding
autogen.coding.CodeExecutorFactory
CodeExecutorFactory
(Experimental) A factory class for creating code executors.
Static Methods
create
(Experimental) Get a code executor based on the code execution config.
Parameters:Name | Description |
---|---|
code_execution_config | The code execution config, which is a dictionary that must contain the key “executor”. The value of the key “executor” can be either a string or an instance of CodeExecutor, in which case the code executor is returned directly. Type: autogen.coding.base.CodeExecutionConfig |
Type | Description |
---|---|
autogen.coding.CodeExecutor | CodeExecutor: The code executor. |