mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
feat: Add infinity symbol to edit format if model supports assistant prefill
This commit is contained in:
parent
888211fd48
commit
73734efe89
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,8 @@ class Coder:
|
||||||
weak_model = main_model.weak_model
|
weak_model = main_model.weak_model
|
||||||
prefix = "Model:"
|
prefix = "Model:"
|
||||||
output = f" {main_model.name} with {self.edit_format} edit format"
|
output = f" {main_model.name} with {self.edit_format} edit format"
|
||||||
|
if main_model.info.get("supports_assistant_prefill"):
|
||||||
|
output += " ∞"
|
||||||
if weak_model is not main_model:
|
if weak_model is not main_model:
|
||||||
prefix = "Models:"
|
prefix = "Models:"
|
||||||
output += f", weak model {weak_model.name}"
|
output += f", weak model {weak_model.name}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue