From a35c532211ec315620d5baf3fc237e1aa62c6c32 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 5 Sep 2024 12:00:44 -0700 Subject: [PATCH] refactor: Move json import to top of file and remove unused import --- aider/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/main.py b/aider/main.py index a83606fd2..9bd0ca5fd 100644 --- a/aider/main.py +++ b/aider/main.py @@ -1,4 +1,5 @@ import configparser +import json import os import re import sys @@ -510,8 +511,6 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F main_model = models.Model(args.model, weak_model=args.weak_model) if args.verbose: - import json - io.tool_output("Model info:") io.tool_output(json.dumps(main_model.info, indent=4))