chat stop

This commit is contained in:
StyleZhang
2024-03-21 17:30:38 +08:00
parent 8e56096f83
commit 4afb16844c
2 changed files with 49 additions and 1 deletions

View File

@ -262,7 +262,8 @@ export const useChat = (
})
handleUpdateChatList(newChatList)
},
onWorkflowStarted: ({ workflow_run_id }) => {
onWorkflowStarted: ({ workflow_run_id, task_id }) => {
taskIdRef.current = task_id
responseItem.workflow_run_id = workflow_run_id
responseItem.workflowProcess = {
status: WorkflowRunningStatus.Running,