mirror of
https://github.com/langgenius/dify.git
synced 2026-08-28 19:16:51 +08:00
refactor(workflow): update fetchInspectVars calls to accept empty parameters
This commit is contained in:
parent
451948d49c
commit
c4f0691454
@ -165,7 +165,7 @@ export const usePipelineRun = () => {
|
||||
},
|
||||
onWorkflowFinished: (params) => {
|
||||
handleWorkflowFinished(params)
|
||||
fetchInspectVars()
|
||||
fetchInspectVars({})
|
||||
invalidAllLastRun()
|
||||
|
||||
if (onWorkflowFinished)
|
||||
|
||||
@ -202,7 +202,7 @@ export const useWorkflowRun = () => {
|
||||
if (onWorkflowFinished)
|
||||
onWorkflowFinished(params)
|
||||
if (isInWorkflowDebug) {
|
||||
fetchInspectVars()
|
||||
fetchInspectVars({})
|
||||
invalidAllLastRun()
|
||||
}
|
||||
},
|
||||
|
||||
@ -296,7 +296,7 @@ export const useChat = (
|
||||
},
|
||||
async onCompleted(hasError?: boolean, errorMessage?: string) {
|
||||
handleResponding(false)
|
||||
fetchInspectVars()
|
||||
fetchInspectVars({})
|
||||
invalidAllLastRun()
|
||||
|
||||
if (hasError) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user