mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
Added manual control of --edit-format
This commit is contained in:
parent
e1d987725e
commit
75e84017b3
2 changed files with 19 additions and 3 deletions
|
@ -93,6 +93,12 @@ def main(args=None, input=None, output=None):
|
|||
const=models.GPT35_16k.name,
|
||||
help=f"Use {models.GPT35_16k.name} model for the main chat (gpt-4 is better)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--edit-format",
|
||||
metavar="EDIT_FORMAT",
|
||||
default=None,
|
||||
help="Specify what edit format GPT should use (default depends on model)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--pretty",
|
||||
action="store_true",
|
||||
|
@ -231,6 +237,7 @@ def main(args=None, input=None, output=None):
|
|||
|
||||
coder = Coder.create(
|
||||
main_model,
|
||||
args.edit_format,
|
||||
io,
|
||||
args.openai_api_key,
|
||||
args.openai_api_base,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue