mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
roughed in tokenizer, dropped openai, openrouter
This commit is contained in:
parent
855e787175
commit
c9bb22d6d5
6 changed files with 27 additions and 46 deletions
|
@ -68,7 +68,7 @@ class Coder:
|
|||
from . import EditBlockCoder, UnifiedDiffCoder, WholeFileCoder
|
||||
|
||||
if not main_model:
|
||||
main_model = models.Model.create(models.DEFAULT_MODEL_NAME)
|
||||
main_model = models.Model(models.DEFAULT_MODEL_NAME)
|
||||
|
||||
if edit_format is None:
|
||||
edit_format = main_model.edit_format
|
||||
|
@ -214,7 +214,7 @@ class Coder:
|
|||
|
||||
self.summarizer = ChatSummary(
|
||||
self.client,
|
||||
models.Model.weak_model(),
|
||||
self.main_model.weak_model(),
|
||||
self.main_model.max_chat_history_tokens,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue