mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
max_reflex=3, auto fix lint/test
This commit is contained in:
parent
642be2a8f0
commit
038806f694
1 changed files with 11 additions and 11 deletions
|
@ -56,7 +56,7 @@ class Coder:
|
|||
num_malformed_responses = 0
|
||||
last_keyboard_interrupt = None
|
||||
num_reflections = 0
|
||||
max_reflections = 5
|
||||
max_reflections = 3
|
||||
edit_format = None
|
||||
yield_stream = False
|
||||
auto_lint = True
|
||||
|
@ -767,8 +767,8 @@ class Coder:
|
|||
lint_errors = self.lint_edited(edited)
|
||||
self.lint_outcome = not lint_errors
|
||||
if lint_errors:
|
||||
ok = self.io.confirm_ask("Attempt to fix lint errors?")
|
||||
if ok:
|
||||
# ok = self.io.confirm_ask("Attempt to fix lint errors?")
|
||||
# if ok:
|
||||
self.reflected_message = lint_errors
|
||||
self.update_cur_messages(set())
|
||||
return
|
||||
|
@ -777,8 +777,8 @@ class Coder:
|
|||
test_errors = self.commands.cmd_test(self.test_cmd)
|
||||
self.test_outcome = not test_errors
|
||||
if test_errors:
|
||||
ok = self.io.confirm_ask("Attempt to fix test errors?")
|
||||
if ok:
|
||||
# ok = self.io.confirm_ask("Attempt to fix test errors?")
|
||||
# if ok:
|
||||
self.reflected_message = test_errors
|
||||
self.update_cur_messages(set())
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue