This commit is contained in:
Paul Gauthier 2024-06-08 10:00:16 -07:00
parent be0520f62f
commit 0882ae9982
5 changed files with 72 additions and 31 deletions

View file

@ -62,7 +62,7 @@ from aider.models import Model
# This is a list of files to add to the chat
fnames = ["greeting.py"]
model = Model("gpt-4-turbo", weak_model="gpt-3.5-turbo")
model = Model("gpt-4-turbo")
# Create a coder object
coder = Coder.create(main_model=model, fnames=fnames)
@ -84,6 +84,6 @@ It can also be helpful to set the equivalend of `--yes` by doing this:
from aider.io import InputOutput
io = InputOutput(yes=True)
# ...
coder = Coder.create(client=client, fnames=fnames, io=io)
coder = Coder.create(model=model, fnames=fnames, io=io)
```