mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
parent
0435e1e494
commit
4711527222
|
|
@ -554,7 +554,10 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para
|
|||
if (props.type === 'debug-ai-chat') {
|
||||
getSourceDetail(chat)
|
||||
} else {
|
||||
if (props.applicationDetails && props.applicationDetails.show_exec) {
|
||||
if (
|
||||
props.applicationDetails &&
|
||||
(props.applicationDetails.show_exec || props.applicationDetails.show_source)
|
||||
) {
|
||||
getSourceDetail(chat)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue