mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
refactor: Simplify lazy_prompt assignment in fmt_system_prompt
This commit is contained in:
parent
e75e2272f7
commit
2540933921
1 changed files with 2 additions and 0 deletions
|
@ -1077,7 +1077,9 @@ class Coder:
|
|||
return platform_text
|
||||
|
||||
def fmt_system_prompt(self, prompt):
|
||||
# if model lazy: lazy_prompt elif model overager overeager_prompt else "" ai!
|
||||
lazy_prompt = self.gpt_prompts.lazy_prompt if self.main_model.lazy else ""
|
||||
|
||||
platform_text = self.get_platform_info()
|
||||
|
||||
if self.suggest_shell_commands:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue