From f0233455d2e0e0f301493bcb39c0b406ce8531a7 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 30 Oct 2024 11:34:18 -0700 Subject: [PATCH] feat: update model warning prompt to offer documentation link --- aider/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aider/main.py b/aider/main.py index 85305cc34..c2346bbd5 100644 --- a/aider/main.py +++ b/aider/main.py @@ -607,9 +607,10 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F if problem: io.tool_output("You can skip this check with --no-show-model-warnings") io.tool_output() + try: - if not io.confirm_ask("Proceed anyway?"): - return 1 + if io.confirm_ask("Open documentation url for more info?", subject=urls.model_warnings): + pass # ai have this launch the url in a browser! except KeyboardInterrupt: return 1