Преглед изворни кода

fix: merge conflict between #11301 and #11885 (#13391)

tags/1.0.0
Hash Brown пре 8 месеци
родитељ
комит
78708eb5d5
No account linked to committer's email address
1 измењених фајлова са 6 додато и 7 уклоњено
  1. 6
    7
      web/app/components/workflow/panel/debug-and-preview/hooks.ts

+ 6
- 7
web/app/components/workflow/panel/debug-and-preview/hooks.ts Прегледај датотеку

@@ -425,13 +425,12 @@ export const useChat = (
else
responseItem.workflowProcess!.tracing[currentIndex].retryDetail = [data as NodeTracing]

handleUpdateChatList(produce(chatListRef.current, (draft) => {
const currentIndex = draft.findIndex(item => item.id === responseItem.id)
draft[currentIndex] = {
...draft[currentIndex],
...responseItem,
}
}))
updateCurrentQAOnTree({
placeholderQuestionId,
questionItem,
responseItem,
parentId: params.parent_message_id,
})
},
onNodeFinished: ({ data }) => {
if (data.iteration_id)

Loading…
Откажи
Сачувај