refactor: Simplify warning message in main.py

This commit is contained in:
Paul Gauthier 2025-03-18 12:30:47 -07:00 committed by Paul Gauthier (aider)
parent f6d697ed2b
commit 277da37047

View file

@ -808,8 +808,7 @@ 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: The model {main_model.name} may not support the '{setting['name']}'"
" setting."
f"Warning: {main_model.name} may not support the '{setting['name']}' setting."
)
warn_setting = True