mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
Add option to skip model availability check
This commit is contained in:
parent
2a8c7ef70d
commit
45298f8af6
2 changed files with 9 additions and 1 deletions
|
@ -55,6 +55,7 @@ class Coder:
|
|||
main_model,
|
||||
edit_format,
|
||||
io,
|
||||
skip_model_availabily_check,
|
||||
**kwargs,
|
||||
):
|
||||
from . import EditBlockCoder, WholeFileCoder
|
||||
|
@ -62,7 +63,7 @@ class Coder:
|
|||
if not main_model:
|
||||
main_model = models.GPT35_16k
|
||||
|
||||
if not main_model.always_available:
|
||||
if not skip_model_availabily_check and not main_model.always_available:
|
||||
if not check_model_availability(main_model):
|
||||
if main_model != models.GPT4:
|
||||
io.tool_error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue