Skip to content

Commit 006289d

Browse files
committed
fix: Changing the answer does not take effect
1 parent 7d47f97 commit 006289d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/application/flow/step_node/search_dataset_node/i_search_dataset_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _run(self):
6666
if self.flow_params_serializer.data.get('re_chat', False):
6767
history_chat_record = self.flow_params_serializer.data.get('history_chat_record', [])
6868
paragraph_id_list = [p.get('id') for p in flat_map(
69-
[get_paragraph_list(chat_record, self.node.id) for chat_record in history_chat_record if
69+
[get_paragraph_list(chat_record, self.runtime_node_id) for chat_record in history_chat_record if
7070
chat_record.problem_text == question])]
7171
exclude_paragraph_id_list = list(set(paragraph_id_list))
7272

ui/src/components/ai-chat/component/answer-content/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function showSource(row: any) {
122122
return false
123123
}
124124
const regenerationChart = (chat: chatType) => {
125-
props.sendMessage(chat.problem_text, { rechat: true })
125+
props.sendMessage(chat.problem_text, { re_chat: true })
126126
}
127127
const stopChat = (chat: chatType) => {
128128
props.chatManagement.stop(chat.id)

0 commit comments

Comments
 (0)