diff --git a/aider/repo.py b/aider/repo.py index 4538c16a3..7869091ea 100644 --- a/aider/repo.py +++ b/aider/repo.py @@ -5,6 +5,7 @@ import git import pathspec from aider import prompts, utils +from aider.models import Model from aider.sendchat import simple_send_with_retries from .dump import dump # noqa: F401 @@ -18,7 +19,10 @@ class GitRepo: def __init__(self, io, fnames, git_dname, aider_ignore_file=None, models=None): self.io = io - self.models = models + if models: + self.models = models + else: + self.models = [Model("gpt-3.5-turbo")] if git_dname: check_fnames = [git_dname] diff --git a/pytest.ini b/pytest.ini index 5ea365392..8fa4e613f 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,4 @@ [pytest] norecursedirs = tmp.* build benchmark +addopts = -p no:warnings