mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +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:
|
if problem:
|
||||||
io.tool_output("You can skip this check with --no-show-model-warnings")
|
io.tool_output("You can skip this check with --no-show-model-warnings")
|
||||||
io.tool_output()
|
io.tool_output()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not io.confirm_ask("Proceed anyway?"):
|
if io.confirm_ask("Open documentation url for more info?", subject=urls.model_warnings):
|
||||||
return 1
|
pass # ai have this launch the url in a browser!
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue