mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
feat: add browser launch for model warnings documentation
This commit is contained in:
parent
f0233455d2
commit
4ac8386313
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ import re
|
|||
import sys
|
||||
import threading
|
||||
import traceback
|
||||
import webbrowser
|
||||
from pathlib import Path
|
||||
|
||||
import git
|
||||
|
@ -610,7 +611,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
|
||||
try:
|
||||
if io.confirm_ask("Open documentation url for more info?", subject=urls.model_warnings):
|
||||
pass # ai have this launch the url in a browser!
|
||||
webbrowser.open(urls.model_warnings)
|
||||
except KeyboardInterrupt:
|
||||
return 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue