gpt_engineer.applications.cli.main.get_preprompts_path

gpt_engineer.applications.cli.main.get_preprompts_path(use_custom_preprompts: bool, input_path: Path) Path[source]

Get the path to the preprompts, using custom ones if specified.

Parameters:
  • use_custom_preprompts (bool) – Flag indicating whether to use custom preprompts.

  • input_path (Path) – The path to the project directory.

Returns:

The path to the directory containing the preprompts.

Return type:

Path