feat: add option to disable shell command suggestions

This commit is contained in:
Paul Gauthier 2024-08-27 14:06:54 -07:00 committed by Paul Gauthier (aider)
parent 825a94f7f0
commit 6f85f38d47
3 changed files with 35 additions and 47 deletions

View file

@ -92,6 +92,7 @@ class Coder:
add_cache_headers = False
cache_warming_thread = None
num_cache_warming_pings = 0
suggest_shell_commands = True
@classmethod
def create(
@ -262,6 +263,8 @@ class Coder:
self.rejected_urls = set()
self.abs_root_path_cache = {}
self.suggest_shell_commands = suggest_shell_commands
self.num_cache_warming_pings = num_cache_warming_pings
if not fnames: