feat: Reorder Junior and Weak Model announcements

This commit is contained in:
Paul Gauthier (aider) 2024-09-25 11:18:17 -07:00
parent f0d02f2c76
commit 0ded63cd31

View file

@ -180,10 +180,6 @@ class Coder:
output += ", infinite output"
lines.append(output)
if weak_model is not main_model:
output = f"Weak model: {weak_model.name}"
lines.append(output)
if self.edit_format == "senior":
output = (
f"Junior model: {main_model.junior_model.name} with"
@ -191,6 +187,10 @@ class Coder:
)
lines.append(output)
if weak_model is not main_model:
output = f"Weak model: {weak_model.name}"
lines.append(output)
# Repo
if self.repo:
rel_repo_dir = self.repo.get_rel_repo_dir()