mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-08-15 23:50:32 +02:00
Add files via upload
This commit is contained in:
@@ -3890,6 +3890,9 @@ function renderProcessDetails(messageId, processDetails, options) {
|
||||
contentDiv.appendChild(timeline);
|
||||
detailsContainer.appendChild(contentDiv);
|
||||
}
|
||||
if (typeof window.ensureProcessDetailsReturnLatestControl === 'function') {
|
||||
window.ensureProcessDetailsReturnLatestControl(timeline);
|
||||
}
|
||||
|
||||
// processDetails === null 表示“尚未加载(懒加载)”;messages.reasoningContent 可先展示
|
||||
const isLazyNotLoaded = isLazyRequest;
|
||||
@@ -3901,6 +3904,9 @@ function renderProcessDetails(messageId, processDetails, options) {
|
||||
timeline.innerHTML = '<div class="progress-timeline-empty">' + lazyHint + '</div>';
|
||||
bindProcessDetailsLazyHint(timeline, messageId);
|
||||
timeline.classList.remove('expanded');
|
||||
if (typeof window.updateProcessDetailsReturnLatestControl === 'function') {
|
||||
window.updateProcessDetailsReturnLatestControl(timeline);
|
||||
}
|
||||
prefetchProcessDetailsSummaryHint(messageId, messageElement);
|
||||
return;
|
||||
}
|
||||
@@ -3934,6 +3940,9 @@ function renderProcessDetails(messageId, processDetails, options) {
|
||||
if (!isProcessDetailsUserExpanded(messageId)) {
|
||||
timeline.classList.remove('expanded');
|
||||
}
|
||||
if (typeof window.updateProcessDetailsReturnLatestControl === 'function') {
|
||||
window.updateProcessDetailsReturnLatestControl(timeline);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -4299,6 +4308,12 @@ function finishProcessDetailsRender(messageElement, processDetails, isLazyNotLoa
|
||||
window.restoreWorkflowHitlInlineForConversation(convId);
|
||||
}
|
||||
}
|
||||
if (typeof window.ensureProcessDetailsReturnLatestControl === 'function') {
|
||||
window.ensureProcessDetailsReturnLatestControl(timeline);
|
||||
}
|
||||
if (typeof window.updateProcessDetailsReturnLatestControl === 'function') {
|
||||
window.updateProcessDetailsReturnLatestControl(timeline);
|
||||
}
|
||||
}
|
||||
|
||||
/** 懒加载折叠态:后台拉摘要,提示迭代规模而不加载全量详情 */
|
||||
|
||||
Reference in New Issue
Block a user