Skip to content

Commit

Permalink
chore: update button modal inference
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Aug 19, 2024
1 parent 46597b6 commit d2a9b21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions web/containers/ModelDropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ const ModelDropdown = ({
{chatInputMode ? (
<Badge
theme="secondary"
variant={open ? 'solid' : 'outline'}
className="cursor-pointer"
onClick={() => setOpen(!open)}
>
Expand Down
3 changes: 2 additions & 1 deletion web/screens/Thread/ThreadCenterPanel/ChatInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ const ChatInput = () => {
<ModelDropdown chatInputMode />
<Badge
theme="secondary"
className="cursor-pointer px-1"
className="flex cursor-pointer items-center gap-x-1"
variant={
activeTabThreadRightPanel === 'model' ? 'solid' : 'outline'
}
Expand All @@ -415,6 +415,7 @@ const ChatInput = () => {
size={16}
className="flex-shrink-0 cursor-pointer text-[hsla(var(--text-secondary))]"
/>
<span>Inference</span>
</Badge>
{experimentalFeature && (
<Badge
Expand Down

0 comments on commit d2a9b21

Please sign in to comment.