gpt_engineer.core.default.steps.execute_entrypoint
- gpt_engineer.core.default.steps.execute_entrypoint(ai: AI, execution_env: BaseExecutionEnv, files_dict: FilesDict, prompt: Prompt = None, preprompts_holder: PrepromptsHolder = None, memory: MutableMapping[str | Path, str] = None) FilesDict[source]
Executes the entrypoint of the codebase.
- Parameters:
ai (AI) – The AI model used for generating the entrypoint.
execution_env (BaseExecutionEnv) – The execution environment in which the code is executed.
files_dict (FilesDict) – The dictionary of file names to their respective source code content.
preprompts_holder (PrepromptsHolder, optional) – The holder for preprompt messages that guide the AI model.
- Returns:
The dictionary of file names to their respective source code content after execution.
- Return type: