fix: rag pipline not show sys vars

This commit is contained in:
Joel 2025-10-22 11:07:08 +08:00
parent 871cfbd40c
commit b0b316ed48
1 changed files with 6 additions and 1 deletions

View File

@ -22,14 +22,19 @@ const InputFieldEditorPanel = dynamic(() => import('./input-field/editor'), {
const PreviewPanel = dynamic(() => import('./input-field/preview'), {
ssr: false,
})
const GlobalVariablePanel = dynamic(() => import('@/app/components/workflow/panel/global-variable-panel'), {
ssr: false,
})
const RagPipelinePanelOnRight = () => {
const historyWorkflowData = useStore(s => s.historyWorkflowData)
const showDebugAndPreviewPanel = useStore(s => s.showDebugAndPreviewPanel)
const showGlobalVariablePanel = useStore(s => s.showGlobalVariablePanel)
return (
<>
{historyWorkflowData && <Record />}
{showDebugAndPreviewPanel && <TestRunPanel />}
{showGlobalVariablePanel && <GlobalVariablePanel />}
</>
)
}