From 4ac838631348815722bd5f2204cf5a57e6c978c4 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 30 Oct 2024 11:34:19 -0700 Subject: [PATCH] feat: add browser launch for model warnings documentation --- aider/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/main.py b/aider/main.py index c2346bbd5..751756f38 100644 --- a/aider/main.py +++ b/aider/main.py @@ -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