mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
refactor: Simplify model color detection logic for Sonnet models
This commit is contained in:
parent
35115f5707
commit
16b319174b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ def get_model_color(model):
|
|||
if model == "gpt-4o-mini":
|
||||
return default
|
||||
|
||||
if "claude-3-sonnet" in model.lower():
|
||||
if "sonnet" in model.lower():
|
||||
return "orange"
|
||||
|
||||
if "-4o" in model:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue