mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
pass max_chat_history_tokens into ChatSummary
This commit is contained in:
parent
1747525418
commit
64470955d4
1 changed files with 3 additions and 1 deletions
|
@ -288,9 +288,11 @@ class Coder:
|
|||
self.verbose,
|
||||
)
|
||||
|
||||
if max_chat_history_tokens is None:
|
||||
max_chat_history_tokens = self.main_model.max_chat_history_tokens
|
||||
self.summarizer = ChatSummary(
|
||||
self.main_model.weak_model,
|
||||
self.main_model.max_chat_history_tokens,
|
||||
max_chat_history_tokens,
|
||||
)
|
||||
|
||||
if not self.done_messages:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue