feat: Add overeager model setting and prompt for precise request handling

This commit is contained in:
Paul Gauthier 2025-03-22 08:22:07 -07:00 committed by Paul Gauthier (aider)
parent 0fd08fe667
commit 51fa2eb103
3 changed files with 4 additions and 1 deletions

View file

@ -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 = ""

View file

@ -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.