mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Make lazy prompt configurable
This commit is contained in:
parent
65dccb6205
commit
2d16ee16ac
4 changed files with 31 additions and 2 deletions
|
@ -513,7 +513,9 @@ class Coder:
|
|||
self.cur_messages = []
|
||||
|
||||
def fmt_system_prompt(self, prompt):
|
||||
prompt = prompt.format(fence=self.fence)
|
||||
lazy_prompt = self.gpt_prompts.lazy_prompt if self.main_model.lazy else ""
|
||||
|
||||
prompt = prompt.format(fence=self.fence, lazy_prompt=lazy_prompt)
|
||||
return prompt
|
||||
|
||||
def format_messages(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue