gpt_engineer.core.default.steps.setup_sys_prompt_existing_code

gpt_engineer.core.default.steps.setup_sys_prompt_existing_code(preprompts: MutableMapping[str | Path, str]) str[source]

Sets up the system prompt for improving existing code.

Parameters:

preprompts (MutableMapping[Union[str, Path], str]) – A mapping of preprompt messages to guide the AI model.

Returns:

The system prompt message for the AI model to improve existing code.

Return type:

str