mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 10:20:15 +01:00
feat: show icon within model select menu
fix: use icon for gptCustom
This commit is contained in:
parent
54aa9debb4
commit
5d0b849930
7 changed files with 80 additions and 56 deletions
|
|
@ -2,6 +2,7 @@ import React from 'react';
|
|||
import ModelItem from './ModelItem';
|
||||
|
||||
export default function MenuItems({ models, onSelect }) {
|
||||
console.log(models)
|
||||
return (
|
||||
<>
|
||||
{models.map((modelItem) => (
|
||||
|
|
@ -11,6 +12,8 @@ export default function MenuItems({ models, onSelect }) {
|
|||
modelName={modelItem.name}
|
||||
value={modelItem.value}
|
||||
onSelect={onSelect}
|
||||
chatGptLabel={modelItem.chatGptLabel}
|
||||
promptPrefix={modelItem.promptPrefix}
|
||||
/>
|
||||
))}
|
||||
</>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue