diff --git a/web/src/layouts/components/header/index.tsx b/web/src/layouts/components/header/index.tsx index afae2e75de2..b3c8d536da2 100644 --- a/web/src/layouts/components/header/index.tsx +++ b/web/src/layouts/components/header/index.tsx @@ -29,6 +29,7 @@ const RagHeader = () => { { path: '/chat', name: t('chat'), icon: MessageOutlined }, { path: '/flow', name: t('flow'), icon: GraphIcon }, { path: '/file', name: t('fileManager'), icon: FileIcon }, + { path: '/search', name: t('search'), icon: FileIcon }, ], [t], ); diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index 1b0dee25110..c51dc7d2862 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -59,6 +59,7 @@ export default { logout: '登出', fileManager: 'File Management', flow: 'Agent', + search: 'Search', }, knowledgeList: { welcome: 'Welcome back', diff --git a/web/src/locales/zh-traditional.ts b/web/src/locales/zh-traditional.ts index 8140f0b7fb5..3f489f86e0a 100644 --- a/web/src/locales/zh-traditional.ts +++ b/web/src/locales/zh-traditional.ts @@ -59,6 +59,7 @@ export default { logout: '登出', fileManager: '文件管理', flow: 'Agent', + search: '搜尋', }, knowledgeList: { welcome: '歡迎回來', diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index 772e9a8faf5..9adf1da571a 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -59,6 +59,7 @@ export default { logout: '登出', fileManager: '文件管理', flow: 'Agent', + search: '搜索', }, knowledgeList: { welcome: '欢迎回来', diff --git a/web/src/pages/search/index.tsx b/web/src/pages/search/index.tsx new file mode 100644 index 00000000000..86fc54ef681 --- /dev/null +++ b/web/src/pages/search/index.tsx @@ -0,0 +1,5 @@ +const SearchPage = () => { + return