mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14: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
|
return platform_text
|
||||||
|
|
||||||
def fmt_system_prompt(self, prompt):
|
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 ""
|
lazy_prompt = self.gpt_prompts.lazy_prompt if self.main_model.lazy else ""
|
||||||
|
|
||||||
platform_text = self.get_platform_info()
|
platform_text = self.get_platform_info()
|
||||||
|
|
||||||
if self.suggest_shell_commands:
|
if self.suggest_shell_commands:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue