|
|
|
@@ -9,7 +9,7 @@ import { useLocation } from 'umi'; |
|
|
|
import Toolbar from '../right-toolbar'; |
|
|
|
|
|
|
|
import { useFetchAppConf } from '@/hooks/logic-hooks'; |
|
|
|
import { SearchOutlined } from '@ant-design/icons'; |
|
|
|
import { MessageOutlined } from '@ant-design/icons'; |
|
|
|
import styles from './index.less'; |
|
|
|
|
|
|
|
const { Header } = Layout; |
|
|
|
@@ -26,8 +26,8 @@ const RagHeader = () => { |
|
|
|
const tagsData = useMemo( |
|
|
|
() => [ |
|
|
|
{ path: '/knowledge', name: t('knowledgeBase'), icon: KnowledgeBaseIcon }, |
|
|
|
// { path: '/chat', name: t('chat'), icon: MessageOutlined }, |
|
|
|
{ path: '/search', name: t('search'), icon: SearchOutlined }, |
|
|
|
{ path: '/chat', name: t('chat'), icon: MessageOutlined }, |
|
|
|
// { path: '/search', name: t('search'), icon: SearchOutlined }, |
|
|
|
{ path: '/flow', name: t('flow'), icon: GraphIcon }, |
|
|
|
{ path: '/file', name: t('fileManager'), icon: FileIcon }, |
|
|
|
], |