mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
fix: Move Coder import to avoid circular dependency
This commit is contained in:
parent
158471b218
commit
f160b8df04
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,6 @@ from prompt_toolkit.completion import Completion, PathCompleter
|
||||||
from prompt_toolkit.document import Document
|
from prompt_toolkit.document import Document
|
||||||
|
|
||||||
from aider import models, prompts, voice
|
from aider import models, prompts, voice
|
||||||
from aider.coders import Coder
|
|
||||||
from aider.editor import pipe_editor
|
from aider.editor import pipe_editor
|
||||||
from aider.format_settings import format_settings
|
from aider.format_settings import format_settings
|
||||||
from aider.help import Help, install_help_extra
|
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.")
|
self.io.tool_error(f"Please provide a question or topic for the {edit_format} chat.")
|
||||||
return
|
return
|
||||||
|
|
||||||
from aider.coders import Coder
|
from aider.coders.base_coder import Coder
|
||||||
|
|
||||||
coder = Coder.create(
|
coder = Coder.create(
|
||||||
io=self.io,
|
io=self.io,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue