mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 19:55:00 +00:00
wire into main
This commit is contained in:
parent
12cf19010f
commit
cc59b10a73
2 changed files with 24 additions and 15 deletions
|
@ -9,6 +9,7 @@ import openai
|
|||
from aider import __version__, models
|
||||
from aider.coders import Coder
|
||||
from aider.io import InputOutput
|
||||
from aider.versioncheck import check_version
|
||||
|
||||
|
||||
def get_git_root():
|
||||
|
@ -369,7 +370,9 @@ def main(args=None, input=None, output=None):
|
|||
|
||||
io.tool_output(f"Aider v{__version__}")
|
||||
|
||||
if 'VSCODE_GIT_IPC_HANDLE' in os.environ:
|
||||
check_version(io.tool_error)
|
||||
|
||||
if "VSCODE_GIT_IPC_HANDLE" in os.environ:
|
||||
args.pretty = False
|
||||
io.tool_output("VSCode terminal detected, pretty output has been disabled.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue