feat(goto-anything): add RAG pipeline node search (#25948)
This commit is contained in:
@@ -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[])
|
||||
|
||||
Reference in New Issue
Block a user