mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
bfbd7b8416
2 changed files with 7 additions and 1 deletions
|
@ -85,6 +85,8 @@ class ChatSummary:
|
|||
]
|
||||
|
||||
summary = simple_send_with_retries(self.model.name, messages)
|
||||
if summary is None:
|
||||
raise ValueError(f"summarizer unexpectedly failed for {self.model.name}")
|
||||
summary = prompts.summary_prefix + summary
|
||||
|
||||
return [dict(role="user", content=summary)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue