mirror of
https://github.com/langgenius/dify.git
synced 2025-10-29 09:59:38 +00:00
feat: add rag pipeline store slice
This commit is contained in:
parent
a36436b585
commit
a2dc38f90a
@ -21,6 +21,7 @@ import WorkflowWithDefaultContext from '@/app/components/workflow'
|
|||||||
import {
|
import {
|
||||||
WorkflowContextProvider,
|
WorkflowContextProvider,
|
||||||
} from '@/app/components/workflow/context'
|
} from '@/app/components/workflow/context'
|
||||||
|
import type { InjectWorkflowStoreSliceFn } from '@/app/components/workflow/store'
|
||||||
import { createWorkflowSlice } from './store/workflow/workflow-slice'
|
import { createWorkflowSlice } from './store/workflow/workflow-slice'
|
||||||
import WorkflowAppMain from './components/workflow-main'
|
import WorkflowAppMain from './components/workflow-main'
|
||||||
|
|
||||||
@ -98,7 +99,7 @@ const WorkflowAppWithAdditionalContext = () => {
|
|||||||
const WorkflowAppWrapper = () => {
|
const WorkflowAppWrapper = () => {
|
||||||
return (
|
return (
|
||||||
<WorkflowContextProvider
|
<WorkflowContextProvider
|
||||||
injectWorkflowStoreSliceFn={createWorkflowSlice}
|
injectWorkflowStoreSliceFn={createWorkflowSlice as InjectWorkflowStoreSliceFn}
|
||||||
>
|
>
|
||||||
<WorkflowAppWithAdditionalContext />
|
<WorkflowAppWithAdditionalContext />
|
||||||
</WorkflowContextProvider>
|
</WorkflowContextProvider>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user