mirror of
https://github.com/langgenius/dify.git
synced 2026-02-20 01:44:42 +08:00
fix: include state snapshot in workflow event URLs for chat hooks
This commit is contained in:
parent
307f0d5827
commit
e63f7b2249
@ -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,
|
||||
|
||||
@ -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) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user