answer node

This commit is contained in:
StyleZhang
2024-03-19 14:50:07 +08:00
parent 0b7cdd1e5d
commit ced6a5c18b
19 changed files with 68 additions and 41 deletions

View File

@ -224,6 +224,10 @@ export const useChat = (
})
handleUpdateChatList(newChatList)
},
onWorkflowStarted: () => {},
onWorkflowFinished: () => {},
onNodeStarted: () => {},
onNodeFinished: () => {},
},
)
}, [handleRun, handleResponding, handleUpdateChatList, notify, t, updateCurrentQA, config.suggested_questions_after_answer?.enabled])