gpt_engineer.applications.cli.main.load_prompt
- gpt_engineer.applications.cli.main.load_prompt(input_repo: DiskMemory, improve_mode: bool, prompt_file: str, image_directory: str, entrypoint_prompt_file: str = '') Prompt[source]
Load or request a prompt from the user based on the mode.
- Parameters:
input_repo (DiskMemory) – The disk memory object where prompts and other data are stored.
improve_mode (bool) – Flag indicating whether the application is in improve mode.
- Returns:
The loaded or inputted prompt.
- Return type:
str