mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
feat: Add --auto-accept-architect option with default true
This commit is contained in:
parent
70547171ca
commit
c052270048
2 changed files with 7 additions and 0 deletions
|
@ -148,6 +148,12 @@ def get_parser(default_config_files, git_root):
|
|||
const="architect",
|
||||
help="Use architect edit format for the main chat",
|
||||
)
|
||||
group.add_argument(
|
||||
"--auto-accept-architect",
|
||||
action=argparse.BooleanOptionalAction,
|
||||
default=True,
|
||||
help="Enable/disable automatic acceptance of architect changes (default: True)",
|
||||
)
|
||||
group.add_argument(
|
||||
"--weak-model",
|
||||
metavar="WEAK_MODEL",
|
||||
|
|
|
@ -921,6 +921,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
chat_language=args.chat_language,
|
||||
detect_urls=args.detect_urls,
|
||||
auto_copy_context=args.copy_paste,
|
||||
auto_accept_architect=args.auto_accept_architect,
|
||||
)
|
||||
except UnknownEditFormat as err:
|
||||
io.tool_error(str(err))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue