mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 10:50:14 +01:00
fix: gptCustom icon should show as same in model and message
This commit is contained in:
parent
5d0b849930
commit
45ca0a8713
4 changed files with 15 additions and 10 deletions
|
|
@ -2,7 +2,6 @@ import React from 'react';
|
|||
import ModelItem from './ModelItem';
|
||||
|
||||
export default function MenuItems({ models, onSelect }) {
|
||||
console.log(models)
|
||||
return (
|
||||
<>
|
||||
{models.map((modelItem) => (
|
||||
|
|
@ -11,6 +10,7 @@ export default function MenuItems({ models, onSelect }) {
|
|||
id={modelItem._id}
|
||||
modelName={modelItem.name}
|
||||
value={modelItem.value}
|
||||
model={modelItem.model || 'chatgptCustom'}
|
||||
onSelect={onSelect}
|
||||
chatGptLabel={modelItem.chatGptLabel}
|
||||
promptPrefix={modelItem.promptPrefix}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue