From e11c32bca5976d416a351630a1428ece797cdc5c Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 18 Mar 2025 17:43:57 -0700 Subject: [PATCH] refactor: Simplify model setting warning message in main.py --- aider/main.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/aider/main.py b/aider/main.py index 593096145..684ff3d30 100644 --- a/aider/main.py +++ b/aider/main.py @@ -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: