mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
feat: update model warning prompt to offer documentation link
This commit is contained in:
parent
53e7eba00b
commit
f0233455d2
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue