Skip to content

Commit 145b05c

Browse files
committed
fix: No execution details were called after the application ended
1 parent ca6630f commit 145b05c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ui/src/components/ai-chat/index.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,13 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para
551551
if (props.chatId === 'new') {
552552
emit('refresh', chartOpenId.value)
553553
}
554-
return id && getSourceDetail(chat)
554+
if (props.type === 'debug-ai-chat') {
555+
getSourceDetail(chat)
556+
} else {
557+
if (props.applicationDetails && props.applicationDetails.show_exec) {
558+
getSourceDetail(chat)
559+
}
560+
}
555561
})
556562
.finally(() => {
557563
ChatManagement.close(chat.id)

0 commit comments

Comments
 (0)