mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
fix: Update method calls to use main_model for get_thinking_tokens and get_reasoning_effort
This commit is contained in:
parent
89174bb524
commit
342586519d
1 changed files with 2 additions and 2 deletions
|
@ -209,12 +209,12 @@ class Coder:
|
||||||
output = f"{prefix}: {main_model.name} with {self.edit_format} edit format"
|
output = f"{prefix}: {main_model.name} with {self.edit_format} edit format"
|
||||||
|
|
||||||
# Check for thinking token budget
|
# Check for thinking token budget
|
||||||
thinking_tokens = self.get_thinking_tokens(main_model)
|
thinking_tokens = main_model.get_thinking_tokens(main_model)
|
||||||
if thinking_tokens:
|
if thinking_tokens:
|
||||||
output += f", {thinking_tokens} think tokens"
|
output += f", {thinking_tokens} think tokens"
|
||||||
|
|
||||||
# Check for reasoning effort
|
# Check for reasoning effort
|
||||||
reasoning_effort = self.get_reasoning_effort(main_model)
|
reasoning_effort = main_model.get_reasoning_effort(main_model)
|
||||||
if reasoning_effort:
|
if reasoning_effort:
|
||||||
output += f", reasoning {reasoning_effort}"
|
output += f", reasoning {reasoning_effort}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue