diff --git a/web/app/components/workflow/panel/debug-and-preview/chat-wrapper.tsx b/web/app/components/workflow/panel/debug-and-preview/chat-wrapper.tsx index 642ef10d09..c565d9b9c0 100644 --- a/web/app/components/workflow/panel/debug-and-preview/chat-wrapper.tsx +++ b/web/app/components/workflow/panel/debug-and-preview/chat-wrapper.tsx @@ -33,6 +33,7 @@ const ChatWrapper = forwardRef((_, ref) => { const workflowStore = useWorkflowStore() const featuresStore = useFeaturesStore() const inputs = useStore(s => s.inputs) + const workflowRunId = useStore(s => s.workflowRunId) const { handleStopRun } = useWorkflowRun() const features = featuresStore!.getState().features @@ -95,7 +96,7 @@ const ChatWrapper = forwardRef((_, ref) => { return ( ({ ...item, workflow_run_id: workflowRunId }))} isResponding={isResponding} chatContainerclassName='px-4' chatContainerInnerClassName='pt-6' @@ -105,6 +106,7 @@ const ChatWrapper = forwardRef((_, ref) => { onStopResponding={doStop} chatNode={} suggestedQuestions={suggestedQuestions} + showPromptLog /> ) })