mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
fix: Remove unused import and update Commands initialization in main.py
This commit is contained in:
parent
b5e51d138e
commit
2f3cd436a6
2 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,7 @@ from rich.console import Console, Text
|
||||||
from rich.markdown import Markdown
|
from rich.markdown import Markdown
|
||||||
|
|
||||||
from aider import __version__, models, prompts, urls, utils
|
from aider import __version__, models, prompts, urls, utils
|
||||||
from aider.commands import Commands, SwitchCoder
|
from aider.commands import Commands
|
||||||
from aider.history import ChatSummary
|
from aider.history import ChatSummary
|
||||||
from aider.io import InputOutput
|
from aider.io import InputOutput
|
||||||
from aider.linter import Linter
|
from aider.linter import Linter
|
||||||
|
|
|
@ -473,7 +473,8 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
commit_prompt=args.commit_prompt,
|
commit_prompt=args.commit_prompt,
|
||||||
)
|
)
|
||||||
|
|
||||||
commands = Commands(io, None, args.voice_language, verify_ssl=args.verify_ssl)
|
from aider.commands import Commands
|
||||||
|
commands = Commands(io, None, verify_ssl=args.verify_ssl)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
coder = Coder.create(
|
coder = Coder.create(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue