mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
refactor: Remove deprecated max_apply_update_errors
This commit is contained in:
parent
3f9ee1ac2e
commit
8fcdcecf36
1 changed files with 0 additions and 9 deletions
|
@ -176,11 +176,6 @@ def main(
|
||||||
"--replay",
|
"--replay",
|
||||||
help="Replay previous .aider.chat.history.md responses from previous benchmark run",
|
help="Replay previous .aider.chat.history.md responses from previous benchmark run",
|
||||||
),
|
),
|
||||||
max_apply_update_errors: int = typer.Option(
|
|
||||||
3,
|
|
||||||
"--max-apply-update-errors",
|
|
||||||
help="Maximum number of apply update errors before stopping the test",
|
|
||||||
),
|
|
||||||
keywords: str = typer.Option(
|
keywords: str = typer.Option(
|
||||||
None, "--keywords", "-k", help="Only run tests that contain keywords (comma sep)"
|
None, "--keywords", "-k", help="Only run tests that contain keywords (comma sep)"
|
||||||
),
|
),
|
||||||
|
@ -342,7 +337,6 @@ def main(
|
||||||
verbose,
|
verbose,
|
||||||
commit_hash,
|
commit_hash,
|
||||||
replay,
|
replay,
|
||||||
max_apply_update_errors,
|
|
||||||
editor_model,
|
editor_model,
|
||||||
editor_edit_format,
|
editor_edit_format,
|
||||||
num_ctx,
|
num_ctx,
|
||||||
|
@ -645,7 +639,6 @@ def run_test_real(
|
||||||
verbose,
|
verbose,
|
||||||
commit_hash,
|
commit_hash,
|
||||||
replay,
|
replay,
|
||||||
max_apply_update_errors,
|
|
||||||
editor_model,
|
editor_model,
|
||||||
editor_edit_format,
|
editor_edit_format,
|
||||||
num_ctx=None,
|
num_ctx=None,
|
||||||
|
@ -792,8 +785,6 @@ def run_test_real(
|
||||||
)
|
)
|
||||||
dump(coder.ignore_mentions)
|
dump(coder.ignore_mentions)
|
||||||
|
|
||||||
# remove all the code related to max_apply_update_errors, it's deprecated. ai!
|
|
||||||
coder.max_apply_update_errors = max_apply_update_errors
|
|
||||||
coder.show_announcements()
|
coder.show_announcements()
|
||||||
|
|
||||||
timeouts = 0
|
timeouts = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue