Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

Hash Brown78708eb5d539
diff --git a/web/app/components/workflow/panel/debug-and-preview/hooks.ts b/web/app/components/workflow/panel/debug-and-preview/hooks.ts
index d3e4e903276..a730d0a1985 100644
--- a/web/app/components/workflow/panel/debug-and-preview/hooks.ts
+++ b/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)