gpt_engineer.core.base_execution_env.BaseExecutionEnv
- class gpt_engineer.core.base_execution_env.BaseExecutionEnv[source]
Bases:
ABCAbstract base class for an execution environment capable of running code.
This class defines the interface for execution environments that can execute commands, handle processes, and manage file uploads and downloads.
- abstract run(command: str, timeout: int | None = None) Tuple[str, str, int][source]
Runs a command in the execution environment.
- abstract upload(files: FilesDict) BaseExecutionEnv[source]
Uploads files to the execution environment.