mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:08:07 +08:00
modify test run panel
This commit is contained in:
@ -86,6 +86,7 @@ export const useWorkflowRun = () => {
|
||||
workflowStore.setState({
|
||||
workflowRunningData: undefined,
|
||||
historyWorkflowData: undefined,
|
||||
showInputsPanel: false,
|
||||
})
|
||||
}
|
||||
else {
|
||||
@ -155,6 +156,17 @@ export const useWorkflowRun = () => {
|
||||
|
||||
let prevNodeId = ''
|
||||
|
||||
const {
|
||||
workflowRunningData,
|
||||
setWorkflowRunningData,
|
||||
} = workflowStore.getState()
|
||||
setWorkflowRunningData(produce(workflowRunningData!, (draft) => {
|
||||
draft.result = {
|
||||
...draft?.result,
|
||||
status: WorkflowRunningStatus.Running,
|
||||
}
|
||||
}))
|
||||
|
||||
ssePost(
|
||||
url,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user