mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
reload history
This commit is contained in:
parent
cd84cc0d3e
commit
b3e19cf5be
1 changed files with 6 additions and 0 deletions
|
@ -289,6 +289,12 @@ class Coder:
|
|||
self.main_model.max_chat_history_tokens,
|
||||
)
|
||||
|
||||
if not self.done_messages:
|
||||
history_md = self.io.read_text(self.io.chat_history_file)
|
||||
dump(history_md)
|
||||
self.done_messages = self.summarizer.summarize_chat_history_markdown(history_md)
|
||||
dump(self.done_messages)
|
||||
|
||||
self.summarizer_thread = None
|
||||
self.summarized_done_messages = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue