From cfba315a85d2df4ce008d65a66904f1c0272b21c Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 19 Nov 2024 17:37:14 -0800 Subject: [PATCH] fix: Replace utils.open_url with webbrowser.open to resolve AttributeError --- aider/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/main.py b/aider/main.py index 702a93d80..f118bc2dc 100644 --- a/aider/main.py +++ b/aider/main.py @@ -5,6 +5,7 @@ import re import sys import threading import traceback +import webbrowser from pathlib import Path import git @@ -756,7 +757,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F if show: io.tool_output(f"Opening release notes: {urls.release_notes}") - utils.open_url(urls.release_notes) + webbrowser.open(urls.release_notes) if args.show_prompts: coder.cur_messages += [