Skip to content

Commit

Permalink
fix(chat): show versions on submodel list item (Issue #2218) (#2752)
Browse files Browse the repository at this point in the history
Co-authored-by: Magomed-Elbi Dzhukalaev <[email protected]>
  • Loading branch information
Gimir and Magomed-Elbi Dzhukalaev authored Dec 5, 2024
1 parent c46094d commit 78e1434
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions apps/chat/src/components/Chat/ConversationSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,18 @@ export const ModelSelectRow = ({ item, isNotAllowed }: ModelSelectRowProps) => {
return (
<div
className={classNames(
'flex items-center gap-2',
'flex items-center gap-2 truncate',
isNotAllowed && 'text-secondary',
)}
>
<ModelIcon entity={item} entityId={item.id} size={18} />
<div>
<span>{getOpenAIEntityFullName(item)}</span>
<div className="truncate">
<span>
{getOpenAIEntityFullName(item)}
{item.version && (
<span className="ml-2 text-secondary">{item.version}</span>
)}
</span>
{isNotAllowed && (
<span className="text-error" data-qa="talk-to-entity-descr">
<EntityMarkdownDescription isShortDescription>
Expand Down

0 comments on commit 78e1434

Please sign in to comment.