mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 07:45:54 +08:00
parent
cf36745770
commit
78708eb5d5
@ -425,13 +425,12 @@ export const useChat = (
|
|||||||
else
|
else
|
||||||
responseItem.workflowProcess!.tracing[currentIndex].retryDetail = [data as NodeTracing]
|
responseItem.workflowProcess!.tracing[currentIndex].retryDetail = [data as NodeTracing]
|
||||||
|
|
||||||
handleUpdateChatList(produce(chatListRef.current, (draft) => {
|
updateCurrentQAOnTree({
|
||||||
const currentIndex = draft.findIndex(item => item.id === responseItem.id)
|
placeholderQuestionId,
|
||||||
draft[currentIndex] = {
|
questionItem,
|
||||||
...draft[currentIndex],
|
responseItem,
|
||||||
...responseItem,
|
parentId: params.parent_message_id,
|
||||||
}
|
})
|
||||||
}))
|
|
||||||
},
|
},
|
||||||
onNodeFinished: ({ data }) => {
|
onNodeFinished: ({ data }) => {
|
||||||
if (data.iteration_id)
|
if (data.iteration_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user