mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
feat: Add color and legend support for Gemini Pro models
This commit is contained in:
parent
9eab021a50
commit
a7fc0f9d2e
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,8 @@ class ModelData:
|
|||
@property
|
||||
def color(self) -> str:
|
||||
model = self.name.lower()
|
||||
if "gemini" in model and "pro" in model:
|
||||
return "magenta"
|
||||
if "qwen" in model:
|
||||
return "darkblue"
|
||||
if "mistral" in model:
|
||||
|
@ -38,6 +40,8 @@ class ModelData:
|
|||
@property
|
||||
def legend_label(self) -> str:
|
||||
model = self.name.lower()
|
||||
if "gemini" in model and "pro" in model:
|
||||
return "Gemini Pro"
|
||||
if "claude-3-sonnet" in model:
|
||||
return "Sonnet"
|
||||
if "o1-preview" in model:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue