mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Initialize ChatSummary with main and weak models
This commit is contained in:
parent
4fe8cca0e9
commit
963420d16f
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ class Coder:
|
||||||
if max_chat_history_tokens is None:
|
if max_chat_history_tokens is None:
|
||||||
max_chat_history_tokens = self.main_model.max_chat_history_tokens
|
max_chat_history_tokens = self.main_model.max_chat_history_tokens
|
||||||
self.summarizer = ChatSummary(
|
self.summarizer = ChatSummary(
|
||||||
self.main_model.weak_model,
|
[self.main_model, self.main_model.weak_model],
|
||||||
max_chat_history_tokens,
|
max_chat_history_tokens,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue