diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 7b562983e..6de97c4d4 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -424,8 +424,11 @@ function regenerationChart(item: chatType) { function getSourceDetail(row: any) { logApi.getRecordDetail(id, chartOpenId.value, row.record_id, loading).then((res) => { + const exclude_keys = ['answer_text', 'id'] Object.keys(res.data).forEach((key) => { - row[key] = res.data[key] + if (!exclude_keys.includes(key)) { + row[key] = res.data[key] + } }) }) return true