diff --git a/web/app/components/rag-pipeline/components/panel/test-run/data-source/local-file/file-uploader.tsx b/web/app/components/rag-pipeline/components/panel/test-run/data-source/local-file/file-uploader.tsx
index 125ba15983..0389ca87ed 100644
--- a/web/app/components/rag-pipeline/components/panel/test-run/data-source/local-file/file-uploader.tsx
+++ b/web/app/components/rag-pipeline/components/panel/test-run/data-source/local-file/file-uploader.tsx
@@ -18,7 +18,7 @@ import { useFileUploadConfig } from '@/service/use-common'
const FILES_NUMBER_LIMIT = 20
-type IFileUploaderProps = {
+export type FileUploaderProps = {
fileList: FileItem[]
allowedExtensions: string[]
prepareFileList: (files: FileItem[]) => void
@@ -36,7 +36,7 @@ const FileUploader = ({
onFileListUpdate,
onPreview,
notSupportBatchUpload,
-}: IFileUploaderProps) => {
+}: FileUploaderProps) => {
const { t } = useTranslation()
const { notify } = useContext(ToastContext)
const { locale } = useContext(I18n)
diff --git a/web/app/components/rag-pipeline/components/panel/test-run/footer-tips.tsx b/web/app/components/rag-pipeline/components/panel/test-run/footer-tips.tsx
new file mode 100644
index 0000000000..f12847675d
--- /dev/null
+++ b/web/app/components/rag-pipeline/components/panel/test-run/footer-tips.tsx
@@ -0,0 +1,14 @@
+import React from 'react'
+import { useTranslation } from 'react-i18next'
+
+const FooterTips = () => {
+ const { t } = useTranslation()
+
+ return (
+
+ {t('datasetPipeline.testRun.tooltip')}
+
+ )
+}
+
+export default React.memo(FooterTips)
diff --git a/web/app/components/rag-pipeline/components/panel/test-run/header.tsx b/web/app/components/rag-pipeline/components/panel/test-run/header.tsx
index f6f91f7a8f..953c7ed7f8 100644
--- a/web/app/components/rag-pipeline/components/panel/test-run/header.tsx
+++ b/web/app/components/rag-pipeline/components/panel/test-run/header.tsx
@@ -1,4 +1,3 @@
-import Tooltip from '@/app/components/base/tooltip'
import React from 'react'
import { useTranslation } from 'react-i18next'
import StepIndicator from './step-indicator'
@@ -16,12 +15,8 @@ const Header = ({
return (
-
-
{t('datasetPipeline.testRun.title')}
-
+
+ {t('datasetPipeline.testRun.title')}
diff --git a/web/app/components/rag-pipeline/components/panel/test-run/index.tsx b/web/app/components/rag-pipeline/components/panel/test-run/index.tsx
index 1a10752bd9..cc04b40559 100644
--- a/web/app/components/rag-pipeline/components/panel/test-run/index.tsx
+++ b/web/app/components/rag-pipeline/components/panel/test-run/index.tsx
@@ -15,6 +15,7 @@ import { DatasourceType } from '@/models/pipeline'
import { TransferMethod } from '@/types/app'
import CloseButton from './close-button'
import Header from './header'
+import FooterTips from './footer-tips'
const TestRunPanel = () => {
const setShowDebugAndPreviewPanel = useWorkflowStoreWithSelector(state => state.setShowDebugAndPreviewPanel)
@@ -108,7 +109,7 @@ const TestRunPanel = () => {
>
-
+
{
currentStep === 1 && (
<>
@@ -161,6 +162,7 @@ const TestRunPanel = () => {
)}
+
>
)
}
diff --git a/web/models/pipeline.ts b/web/models/pipeline.ts
index faabaad024..1bc063a212 100644
--- a/web/models/pipeline.ts
+++ b/web/models/pipeline.ts
@@ -11,6 +11,7 @@ export enum DatasourceType {
localFile = 'local_file',
onlineDocument = 'online_document',
websiteCrawl = 'website_crawl',
+ onlineDrive = 'online_drive',
}
export type PipelineTemplateListParams = {