refactor(workflow): update fetchInspectVars calls to accept empty parameters

This commit is contained in:
twwu 2025-09-03 18:15:14 +08:00
parent 451948d49c
commit c4f0691454
4 changed files with 8 additions and 8 deletions

View File

@ -165,7 +165,7 @@ export const usePipelineRun = () => {
},
onWorkflowFinished: (params) => {
handleWorkflowFinished(params)
fetchInspectVars()
fetchInspectVars({})
invalidAllLastRun()
if (onWorkflowFinished)

View File

@ -202,7 +202,7 @@ export const useWorkflowRun = () => {
if (onWorkflowFinished)
onWorkflowFinished(params)
if (isInWorkflowDebug) {
fetchInspectVars()
fetchInspectVars({})
invalidAllLastRun()
}
},

View File

@ -296,7 +296,7 @@ export const useChat = (
},
async onCompleted(hasError?: boolean, errorMessage?: string) {
handleResponding(false)
fetchInspectVars()
fetchInspectVars({})
invalidAllLastRun()
if (hasError) {