From 60d92feaa8f543c1a60db4448aae879d9d048f52 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 24 Apr 2024 15:59:52 -0700 Subject: [PATCH] copy --- docs/faq.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index e7aeff8ae2b..2b31475633b 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -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)