mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
refactor: Simplify model setting warning message in main.py
This commit is contained in:
parent
16309dc077
commit
e11c32bca5
1 changed files with 5 additions and 2 deletions
|
@ -815,8 +815,11 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
or setting["name"] not in main_model.accepts_settings
|
||||
):
|
||||
io.tool_warning(
|
||||
f"Warning: {main_model.name} does not support the '{setting['name']}' setting."
|
||||
" This parameter will be ignored."
|
||||
f"Warning: {main_model.name} does not support '{setting['name']}', ignoring."
|
||||
)
|
||||
io.tool_output(
|
||||
f"Use --no-check-model-accepts-settings to force the '{setting['name']}'"
|
||||
" setting."
|
||||
)
|
||||
|
||||
if args.copy_paste and args.edit_format is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue