fix: No execution details were called after the application ended (#3639)

This commit is contained in:
shaohuzhang1 2025-07-16 19:09:30 +08:00 committed by GitHub
parent fa55cdc143
commit b59762ac49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -551,7 +551,13 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para
if (props.chatId === 'new') {
emit('refresh', chartOpenId.value)
}
return id && getSourceDetail(chat)
if (props.type === 'debug-ai-chat') {
getSourceDetail(chat)
} else {
if (props.applicationDetails && props.applicationDetails.show_exec) {
getSourceDetail(chat)
}
}
})
.finally(() => {
ChatManagement.close(chat.id)