diff --git a/src/renderer/src/pages/home/components/Navigation.tsx b/src/renderer/src/pages/home/components/Navigation.tsx index 3f2533a9fc..7c5dd08637 100644 --- a/src/renderer/src/pages/home/components/Navigation.tsx +++ b/src/renderer/src/pages/home/components/Navigation.tsx @@ -13,8 +13,9 @@ interface Props { } const Navigation: FC = ({ activeAssistant }) => { - const { providers } = useProviders() + const { assistant } = useAssistant(activeAssistant.id) const { model, setModel } = useAssistant(activeAssistant.id) + const { providers } = useProviders() const { t } = useTranslation() const items: MenuProps['items'] = providers @@ -33,7 +34,7 @@ const Navigation: FC = ({ activeAssistant }) => { return ( - {activeAssistant?.name} + {assistant?.name}