diff --git a/web/containers/Layout/BottomBar/SystemItem/index.tsx b/web/containers/Layout/BottomBar/SystemItem/index.tsx
index dfa8cb0d3..6bb8b645d 100644
--- a/web/containers/Layout/BottomBar/SystemItem/index.tsx
+++ b/web/containers/Layout/BottomBar/SystemItem/index.tsx
@@ -1,15 +1,30 @@
import { ReactNode } from 'react'
+import { twMerge } from 'tailwind-merge'
+
type Props = {
name?: string
value: string | ReactNode
+ titleBold?: boolean
}
-export default function SystemItem({ name, value }: Props) {
+export default function SystemItem({ name, value, titleBold }: Props) {
return (
-
-
{name}
-
{value}
+
+
+ {name}
+
+
+ {value}
+
)
}
diff --git a/web/containers/Layout/BottomBar/index.tsx b/web/containers/Layout/BottomBar/index.tsx
index 74844a000..7f839b210 100644
--- a/web/containers/Layout/BottomBar/index.tsx
+++ b/web/containers/Layout/BottomBar/index.tsx
@@ -6,17 +6,19 @@ import {
TooltipContent,
TooltipTrigger,
} from '@janhq/uikit'
-import { useAtomValue } from 'jotai'
+import { useAtomValue, useSetAtom } from 'jotai'
import { FaGithub, FaDiscord } from 'react-icons/fa'
import DownloadingState from '@/containers/Layout/BottomBar/DownloadingState'
import SystemItem from '@/containers/Layout/BottomBar/SystemItem'
+import CommandListDownloadedModel from '@/containers/Layout/TopBar/CommandListDownloadedModel'
import ProgressBar from '@/containers/ProgressBar'
import { appDownloadProgress } from '@/containers/Providers/Jotai'
+import { showSelectModelModalAtom } from '@/containers/Providers/KeyListener'
import ShortCut from '@/containers/Shortcut'
import { MainViewState } from '@/constants/screens'
@@ -48,6 +50,7 @@ const BottomBar = () => {
const { downloadedModels } = useGetDownloadedModels()
const { setMainViewState } = useMainViewState()
const { downloadStates } = useDownloadState()
+ const setShowSelectModelModal = useSetAtom(showSelectModelModalAtom)
return (
@@ -58,24 +61,31 @@ const BottomBar = () => {
) : null}
+
setShowSelectModelModal((show) => !show)}
+ >
+ My Models
+
+
+
{stateModel.state === 'start' && stateModel.loading && (
-
+
)}
{stateModel.state === 'stop' && stateModel.loading && (
-
+
)}
{!stateModel.loading && downloadedModels.length !== 0 && (
-
-
- to view models
-
- )
- }
- />
+
)}
{downloadedModels.length === 0 &&
!stateModel.loading &&
@@ -91,13 +101,15 @@ const BottomBar = () => {
-