fix: AI conversation jumps to 404 (#3118)

This commit is contained in:
shaohuzhang1 2025-05-21 10:58:00 +08:00 committed by GitHub
parent 8498687794
commit a7e31b94c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -529,6 +529,7 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para
* @param row
*/
function getSourceDetail(row: any) {
if (row.record_id) {
logApi.getRecordDetail(id || props.appId, row.chat_id, row.record_id, loading).then((res) => {
const exclude_keys = ['answer_text', 'id', 'answer_text_list']
Object.keys(res.data).forEach((key) => {
@ -537,6 +538,7 @@ function getSourceDetail(row: any) {
}
})
})
}
return true
}