Skip to content

Commit

Permalink
copy
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Apr 24, 2024
1 parent fe6257b commit 60d92fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,12 @@ You can also script aider from python:

```python
from aider.coders import Coder
from aider.models import Model

# This is a list of files to add to the chat
fnames = ["foo.py"]
fnames = ["greeting.py"]

model = models.Model("gpt-4-turbo", weak_model="gpt-3.5-turbo")
model = Model("gpt-4-turbo", weak_model="gpt-3.5-turbo")

# Create a coder object
coder = Coder.create(main_model=model, fnames=fnames)
Expand Down

0 comments on commit 60d92fe

Please sign in to comment.