mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 19:30:15 +01:00
🤖 feat: o3-mini (#5581)
* 🤖 feat: `o3-mini`
* chore: re-order vision models list to prioritize gpt-4o as a vision model over o1
This commit is contained in:
parent
fdf0b41d08
commit
33f6093775
6 changed files with 17 additions and 13 deletions
|
|
@ -25,7 +25,7 @@ type EndpointIcon = {
|
|||
|
||||
function getOpenAIColor(_model: string | null | undefined) {
|
||||
const model = _model?.toLowerCase() ?? '';
|
||||
if (model && /\bo1\b/i.test(model)) {
|
||||
if (model && /\b(o1|o3)\b/i.test(model)) {
|
||||
return '#000000';
|
||||
}
|
||||
return model.includes('gpt-4') ? '#AB68FF' : '#19C37D';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue