From 5d4ef7d00990d36301205cd1c9264be0c04a0c96 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 31 Jan 2025 08:59:36 -0800 Subject: [PATCH] fix: Remove incorrect `self.` reference in main() function --- aider/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/main.py b/aider/main.py index 641dd6c91..bc76cffb6 100644 --- a/aider/main.py +++ b/aider/main.py @@ -766,7 +766,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F ) break if not args.model: - self.io.tool_error("You need to specify a --model and an --api-key to use.") + io.tool_error("You need to specify a --model and an --api-key to use.") io.offer_url(urls.models_and_keys, "Open documentation url for more info?") return 1