mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
fix: Restructure imports in main.py
This commit is contained in:
parent
1a3221e400
commit
e66df79aaf
1 changed files with 3 additions and 5 deletions
|
@ -11,7 +11,9 @@ from prompt_toolkit.enums import EditingMode
|
||||||
|
|
||||||
from aider import __version__, models, utils
|
from aider import __version__, models, utils
|
||||||
from aider.args import get_parser
|
from aider.args import get_parser
|
||||||
from aider.commands import SwitchCoder
|
from aider.coders import Coder
|
||||||
|
from aider.commands import Commands, SwitchCoder
|
||||||
|
from aider.history import ChatSummary
|
||||||
from aider.io import InputOutput
|
from aider.io import InputOutput
|
||||||
from aider.llm import litellm # noqa: F401; properly init litellm on launch
|
from aider.llm import litellm # noqa: F401; properly init litellm on launch
|
||||||
from aider.repo import GitRepo
|
from aider.repo import GitRepo
|
||||||
|
@ -475,10 +477,6 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
from aider.coders import Coder
|
|
||||||
from aider.commands import Commands
|
|
||||||
from aider.history import ChatSummary
|
|
||||||
|
|
||||||
commands = Commands(io, None, verify_ssl=args.verify_ssl)
|
commands = Commands(io, None, verify_ssl=args.verify_ssl)
|
||||||
|
|
||||||
summarizer = ChatSummary(
|
summarizer = ChatSummary(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue