Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web-app/src/containers/ChatInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -587,10 +587,10 @@ const ChatInput = ({ model, className, initialMessage }: ChatInputProps) => {

<div className="absolute z-20 bg-transparent bottom-0 w-full p-2 ">
<div className="flex justify-between items-center w-full">
<div className="px-1 flex items-center gap-1">
<div className="px-1 flex items-center gap-1 flex-1 min-w-0">
<div
className={cn(
'px-1 flex items-center',
'px-1 flex items-center w-full',
streamingContent && 'opacity-50 pointer-events-none'
)}
>
Expand Down
13 changes: 6 additions & 7 deletions web-app/src/containers/DropdownModelProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,11 @@ const DropdownModelProvider = ({

return (
<Popover open={open} onOpenChange={onOpenChange}>
<div className="bg-main-view-fg/5 hover:bg-main-view-fg/8 px-2 py-1 flex items-center gap-1.5 rounded-sm max-h-[32px] mr-0.5">
<div className="flex items-center gap-1.5 w-full">
<PopoverTrigger asChild>
<button
title={displayModel}
className="font-medium cursor-pointer flex items-center gap-1.5 relative z-20 max-w-38"
type="button"
className="font-medium cursor-pointer flex items-center gap-1.5 relative z-20 w-full"
>
{provider && (
<div className="shrink-0">
Expand Down Expand Up @@ -507,7 +507,7 @@ const DropdownModelProvider = ({
provider={searchableModel.provider}
/>
</div>
<span className="truncate text-main-view-fg/80 text-sm">
<span className="text-main-view-fg/80 text-sm">
{searchableModel.model.id}
</span>
<div className="flex-1"></div>
Expand Down Expand Up @@ -545,7 +545,7 @@ const DropdownModelProvider = ({
<div className="flex items-center justify-between px-2 py-1">
<div className="flex items-center gap-1.5">
<ProvidersAvatar provider={providerInfo} />
<span className="capitalize truncate text-sm font-medium text-main-view-fg/80">
<span className="capitalize text-sm font-medium text-main-view-fg/80">
{getProviderTitle(providerInfo.provider)}
</span>
</div>
Expand Down Expand Up @@ -594,12 +594,11 @@ const DropdownModelProvider = ({
>
<div className="flex items-center gap-2 flex-1 min-w-0">
<span
className="truncate text-main-view-fg/80 text-sm"
className="text-main-view-fg/80 text-sm"
title={searchableModel.model.id}
>
{searchableModel.model.id}
</span>

<div className="flex-1"></div>
{capabilities.length > 0 && (
<div className="flex-shrink-0 -mr-1.5">
Expand Down
Loading