feat(goto-anything): add RAG pipeline node search (#25948)

This commit is contained in:
GuanMu
2025-09-19 18:28:13 +08:00
committed by GitHub
parent 4047a6bb12
commit ab910c736c
7 changed files with 270 additions and 30 deletions

View File

@@ -16,6 +16,7 @@ import {
} from '@/app/components/workflow/hooks'
import { useEventEmitterContextContext } from '@/context/event-emitter'
import PublishToast from './publish-toast'
import { useRagPipelineSearch } from '../hooks/use-rag-pipeline-search'
const RagPipelineChildren = () => {
const { eventEmitter } = useEventEmitterContextContext()
@@ -30,6 +31,9 @@ const RagPipelineChildren = () => {
handleExportDSL,
} = useDSL()
// Initialize RAG pipeline search functionality
useRagPipelineSearch()
eventEmitter?.useSubscription((v: any) => {
if (v.type === DSL_EXPORT_CHECK)
setSecretEnvList(v.payload.data as EnvironmentVariable[])