mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
Don't assume gpt-3.5-turbo as the weak model, use main_model if unsure
This commit is contained in:
parent
83c76a3c65
commit
30c095349a
2 changed files with 38 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
import argparse
|
||||
|
||||
from aider import models, prompts
|
||||
from aider import prompts
|
||||
from aider.dump import dump # noqa: F401
|
||||
from aider.sendchat import simple_send_with_retries
|
||||
|
||||
|
@ -123,7 +123,7 @@ def main():
|
|||
|
||||
assistant.append(line)
|
||||
|
||||
summarizer = ChatSummary(models.Model(models.DEFAULT_WEAK_MODEL_NAME, weak_model=False))
|
||||
summarizer = ChatSummary("gpt-3.5-turbo", weak_model=False)
|
||||
summary = summarizer.summarize(messages[-40:])
|
||||
dump(summary)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue