From d17bd6ebcc7ba1edf53d19bee1c4e9756dbbefb1 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 4 Oct 2024 12:51:39 -0700 Subject: [PATCH] move import --- aider/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aider/main.py b/aider/main.py index 66f854149..9929213ec 100644 --- a/aider/main.py +++ b/aider/main.py @@ -11,7 +11,7 @@ import git from dotenv import load_dotenv from prompt_toolkit.enums import EditingMode -from aider import __version__, models, utils +from aider import __version__, models, urls, utils from aider.args import get_parser from aider.coders import Coder from aider.commands import Commands, SwitchCoder @@ -326,8 +326,6 @@ def sanity_check_repo(repo, io): io.tool_error("Aider only works with git repos with version number 1 or 2.") io.tool_output("You may be able to convert your repo: git update-index --index-version=2") io.tool_output("Or run aider --no-git to proceed without using git.") - from aider import urls - io.tool_output(urls.git_index_version) return False