mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
feat: add suggest_shell_commands option to control shell command suggestions
This commit is contained in:
parent
f33850ceab
commit
b178fe85d8
2 changed files with 5 additions and 0 deletions
|
@ -255,6 +255,7 @@ class Coder:
|
|||
map_refresh="auto",
|
||||
cache_prompts=False,
|
||||
num_cache_warming_pings=0,
|
||||
suggest_shell_commands=True,
|
||||
):
|
||||
self.commit_before_message = []
|
||||
self.aider_commit_hashes = set()
|
||||
|
@ -1865,6 +1866,9 @@ class Coder:
|
|||
return
|
||||
|
||||
def run_shell_commands(self):
|
||||
if not self.suggest_shell_commands:
|
||||
return ""
|
||||
|
||||
done = set()
|
||||
group = ConfirmGroup(set(self.shell_commands))
|
||||
accumulated_output = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue