From f160b8df0457fc1cb79ea2df49249c9adb8da78b Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 26 Dec 2024 09:58:45 -0500 Subject: [PATCH] fix: Move Coder import to avoid circular dependency --- aider/commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index bd9c6b255..225667b42 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -15,7 +15,6 @@ from prompt_toolkit.completion import Completion, PathCompleter from prompt_toolkit.document import Document from aider import models, prompts, voice -from aider.coders import Coder from aider.editor import pipe_editor from aider.format_settings import format_settings from aider.help import Help, install_help_extra @@ -1072,7 +1071,7 @@ class Commands: self.io.tool_error(f"Please provide a question or topic for the {edit_format} chat.") return - from aider.coders import Coder + from aider.coders.base_coder import Coder coder = Coder.create( io=self.io,