diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index c8a6a14a6..61f48fad5 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -1079,7 +1079,7 @@ class Coder: def fmt_system_prompt(self, prompt): if self.main_model.lazy: lazy_prompt = self.gpt_prompts.lazy_prompt - elif hasattr(self.main_model, "overager") and self.main_model.overager: + elif self.main_model.overeager: lazy_prompt = self.gpt_prompts.overeager_prompt else: lazy_prompt = "" diff --git a/aider/coders/base_prompts.py b/aider/coders/base_prompts.py index c431c7520..35ff81cce 100644 --- a/aider/coders/base_prompts.py +++ b/aider/coders/base_prompts.py @@ -14,6 +14,8 @@ You NEVER leave comments describing code without implementing it! You always COMPLETELY IMPLEMENT the needed code! """ + overeager_prompt = """Pay careful attention to the scope of the user's request. Do what they ask, but no more.""" + example_messages = [] files_content_prefix = """I have *added these files to the chat* so you can go ahead and edit them. diff --git a/aider/models.py b/aider/models.py index 4e9c3d41f..19468e28c 100644 --- a/aider/models.py +++ b/aider/models.py @@ -103,6 +103,7 @@ class ModelSettings: use_repo_map: bool = False send_undo_reply: bool = False lazy: bool = False + overeager: bool = False reminder: str = "user" examples_as_sys_msg: bool = False extra_params: Optional[dict] = None