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: Disable question editing in chat history (#22438)

GuanMu7388fd1ec640
diff --git a/web/app/components/workflow/panel/chat-record/index.tsx b/web/app/components/workflow/panel/chat-record/index.tsx
index 58022a32a2c..5ab3b453403 100644
--- a/web/app/components/workflow/panel/chat-record/index.tsx
+++ b/web/app/components/workflow/panel/chat-record/index.tsx
@@ -115,6 +115,7 @@ const ChatRecord = () => {
<Chat
config={{
supportCitationHitInfo: true,
+ questionEditEnable: false,
} as any}
chatList={threadChatItems}
chatContainerClassName='px-3'