mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
feat: add deprecation warning for remove_reasoning attribute
This commit is contained in:
parent
af1b728b90
commit
c1bc6e161e
1 changed files with 4 additions and 0 deletions
|
@ -773,6 +773,10 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
editor_edit_format=args.editor_edit_format,
|
editor_edit_format=args.editor_edit_format,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Check if deprecated remove_reasoning is set
|
||||||
|
if main_model.remove_reasoning is not None:
|
||||||
|
io.tool_warning("'remove_reasoning' is deprecated, please use 'reasoning_tag' instead.")
|
||||||
|
|
||||||
# Set reasoning effort if specified
|
# Set reasoning effort if specified
|
||||||
if args.reasoning_effort is not None:
|
if args.reasoning_effort is not None:
|
||||||
main_model.set_reasoning_effort(args.reasoning_effort)
|
main_model.set_reasoning_effort(args.reasoning_effort)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue