mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
fix: Update model output formatting in base_coder.py
This commit is contained in:
parent
4d36518de0
commit
53db8cfa82
1 changed files with 4 additions and 3 deletions
|
@ -206,11 +206,12 @@ class Coder:
|
||||||
main_model = self.main_model
|
main_model = self.main_model
|
||||||
weak_model = main_model.weak_model
|
weak_model = main_model.weak_model
|
||||||
prefix = "Model:"
|
prefix = "Model:"
|
||||||
output = f" {main_model.name} with"
|
output = f" {main_model.name}"
|
||||||
|
if main_model.cache_control and self.cache_prompts:
|
||||||
|
output += "⚡"
|
||||||
|
output += " with"
|
||||||
if main_model.info.get("supports_assistant_prefill"):
|
if main_model.info.get("supports_assistant_prefill"):
|
||||||
output += " ♾️"
|
output += " ♾️"
|
||||||
if main_model.cache_control and self.cache_prompts:
|
|
||||||
output += " ⚡"
|
|
||||||
output += f" {self.edit_format} edit format"
|
output += f" {self.edit_format} edit format"
|
||||||
if weak_model is not main_model:
|
if weak_model is not main_model:
|
||||||
prefix = "Models:"
|
prefix = "Models:"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue