mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
refactor: Update method calls to use model's instance methods
This commit is contained in:
parent
72b82a8d19
commit
dbf80d564b
2 changed files with 2 additions and 3 deletions
|
@ -204,7 +204,7 @@ class GitRepo:
|
|||
max_tokens = model.info.get("max_input_tokens") or 0
|
||||
if max_tokens and num_tokens > max_tokens:
|
||||
continue
|
||||
commit_message = simple_send_with_retries(model, messages)
|
||||
commit_message = model.simple_send_with_retries(messages)
|
||||
if commit_message:
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue