fix: chatflow run progress problem (#4298)
This commit is contained in:
@@ -468,7 +468,10 @@ export const useChat = (
|
||||
}))
|
||||
},
|
||||
onNodeStarted: ({ data }) => {
|
||||
responseItem.workflowProcess!.tracing!.push(data as any)
|
||||
responseItem.workflowProcess!.tracing!.push({
|
||||
...data,
|
||||
status: WorkflowRunningStatus.Running,
|
||||
} as any)
|
||||
handleUpdateChatList(produce(chatListRef.current, (draft) => {
|
||||
const currentIndex = draft.findIndex(item => item.id === responseItem.id)
|
||||
draft[currentIndex] = {
|
||||
|
Reference in New Issue
Block a user