mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
feat(last-run): add handling for Listening status in run result calculation
This commit is contained in:
@ -67,6 +67,9 @@ const LastRun: FC<Props> = ({
|
||||
if (oneStepRunRunningStatus === NodeRunningStatus.Stopped)
|
||||
return NodeRunningStatus.Stopped
|
||||
|
||||
if (oneStepRunRunningStatus === NodeRunningStatus.Listening)
|
||||
return NodeRunningStatus.Listening
|
||||
|
||||
return (runResult as any).status || otherResultPanelProps.status
|
||||
}, [isPaused, oneStepRunRunningStatus, runResult, otherResultPanelProps.status])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user