mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
rename simple_send_with_retries -> send_with_retries
This commit is contained in:
parent
b543dda664
commit
d619edf6e9
5 changed files with 19 additions and 26 deletions
|
@ -2,7 +2,7 @@ import argparse
|
|||
|
||||
from aider import models, prompts
|
||||
from aider.dump import dump # noqa: F401
|
||||
from aider.sendchat import simple_send_with_retries
|
||||
from aider.sendchat import send_with_retries
|
||||
|
||||
|
||||
class ChatSummary:
|
||||
|
@ -108,7 +108,7 @@ class ChatSummary:
|
|||
|
||||
for model in self.models:
|
||||
try:
|
||||
summary = simple_send_with_retries(model.name, summarize_messages)
|
||||
summary = send_with_retries(model.name, summarize_messages)
|
||||
if summary is not None:
|
||||
summary = prompts.summary_prefix + summary
|
||||
return [dict(role="user", content=summary)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue