diff --git a/web/app/components/base/chat/chat/hooks.ts b/web/app/components/base/chat/chat/hooks.ts index 22e4fae0c1..e9365d98cb 100644 --- a/web/app/components/base/chat/chat/hooks.ts +++ b/web/app/components/base/chat/chat/hooks.ts @@ -221,7 +221,7 @@ export const useChat = ( ) => { const getOrCreatePlayer = createAudioPlayerManager() // Re-subscribe to workflow events for the specific message - const url = `/workflow/${workflowRunId}/events` + const url = `/workflow/${workflowRunId}/events?include_state_snapshot=true` const otherOptions: IOtherOptions = { isPublicAPI, diff --git a/web/app/components/workflow/panel/debug-and-preview/hooks.ts b/web/app/components/workflow/panel/debug-and-preview/hooks.ts index 251b64b3fc..4fcb0df2ab 100644 --- a/web/app/components/workflow/panel/debug-and-preview/hooks.ts +++ b/web/app/components/workflow/panel/debug-and-preview/hooks.ts @@ -647,7 +647,7 @@ export const useChat = ( }: SendCallback, ) => { // Re-subscribe to workflow events for the specific message - const url = `/workflow/${workflowRunId}/events` + const url = `/workflow/${workflowRunId}/events?include_state_snapshot=true` const otherOptions: IOtherOptions = { getAbortController: (abortController) => {