mirror of https://github.com/langgenius/dify.git
feat: add PluginDependency component to RagPipelineChildren and WorkflowChildren for enhanced functionality
This commit is contained in:
parent
23a6fe3259
commit
0fdb1fedb0
|
|
@ -4,6 +4,7 @@ import {
|
|||
} from 'react'
|
||||
import { useStore } from '../../workflow/store'
|
||||
import InputField from './input-field'
|
||||
import PluginDependency from '../../workflow/plugin-dependency'
|
||||
import RagPipelinePanel from './panel'
|
||||
import RagPipelineHeader from './rag-pipeline-header'
|
||||
import type { EnvironmentVariable } from '@/app/components/workflow/types'
|
||||
|
|
@ -26,8 +27,8 @@ const RagPipelineChildren = () => {
|
|||
handlePaneContextmenuCancel,
|
||||
} = usePanelInteractions()
|
||||
const {
|
||||
exportCheck,
|
||||
handleExportDSL,
|
||||
exportCheck,
|
||||
handleExportDSL,
|
||||
} = useDSL()
|
||||
|
||||
eventEmitter?.useSubscription((v: any) => {
|
||||
|
|
@ -37,6 +38,7 @@ const RagPipelineChildren = () => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<PluginDependency />
|
||||
{
|
||||
showImportDSLModal && (
|
||||
<UpdateDSLModal
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import type { EnvironmentVariable } from '@/app/components/workflow/types'
|
|||
import { DSL_EXPORT_CHECK } from '@/app/components/workflow/constants'
|
||||
import { useStore } from '@/app/components/workflow/store'
|
||||
import Features from '@/app/components/workflow/features'
|
||||
import PluginDependency from '../../workflow/plugin-dependency'
|
||||
import UpdateDSLModal from '@/app/components/workflow/update-dsl-modal'
|
||||
import DSLExportConfirmModal from '@/app/components/workflow/dsl-export-confirm-modal'
|
||||
import {
|
||||
|
|
@ -37,6 +38,7 @@ const WorkflowChildren = () => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<PluginDependency />
|
||||
{
|
||||
showFeaturesPanel && <Features />
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue