Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

feat: Show chat tab #2247 (#2307)

balibabufe4b2bf969b1
diff --git a/web/src/layouts/components/header/index.tsx b/web/src/layouts/components/header/index.tsx
index 357fca80f1..694840547b 100644
--- a/web/src/layouts/components/header/index.tsx
+++ b/web/src/layouts/components/header/index.tsx
@@ -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 },
],