diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 1beed7a45..0e297902a 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -829,7 +829,8 @@ class Coder: urls = list(set(url_pattern.findall(text))) # Use set to remove duplicates for url in urls: url = url.rstrip(".',\"") - if self.io.confirm_ask("Open URL for more info about this error?", subject=url): + #ai refactor this into a io.offer_url() function! + if self.io.confirm_ask("Open URL for more info?", subject=url): webbrowser.open(url) return urls diff --git a/aider/io.py b/aider/io.py index 5e27a267a..a9a3a3edd 100644 --- a/aider/io.py +++ b/aider/io.py @@ -1,3 +1,4 @@ +#ai import base64 import os from collections import defaultdict