mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
fix: Update method call to use model's simple_send_with_retries
This commit is contained in:
parent
74d5e2b0c1
commit
d302f228f9
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class ChatSummary:
|
||||||
|
|
||||||
for model in self.models:
|
for model in self.models:
|
||||||
try:
|
try:
|
||||||
summary = simple_send_with_retries(model, summarize_messages)
|
summary = model.simple_send_with_retries(summarize_messages)
|
||||||
if summary is not None:
|
if summary is not None:
|
||||||
summary = prompts.summary_prefix + summary
|
summary = prompts.summary_prefix + summary
|
||||||
return [dict(role="user", content=summary)]
|
return [dict(role="user", content=summary)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue