Agent Zero AI framework
fix: browser holding timestamp
3clyp50e042f5e451a0
diff --git a/webui/js/messages.js b/webui/js/messages.jsindex 09c9e3b78..d0fba4bfa 100644--- a/webui/js/messages.js+++ b/webui/js/messages.js@@ -1431,6 +1431,8 @@ function updateProcessStep(stepElement, id, type, heading, content, kvps, durati// Update detail contentconst detailContent = stepElement.querySelector(".process-step-detail-content");+ let skipFullRender = false;+if (detailContent) {// For browser, update image src incrementally to avoid flashingif (type === "browser" && kvps?.screenshot) {@@ -1441,11 +1443,14 @@ function updateProcessStep(stepElement, id, type, heading, content, kvps, duratiif (!existingImg.src.endsWith(newSrc.split("?path=")[1])) {existingImg.src = newSrc;}- // Skip full re-render to avoid flashing- return;+ // Skip full re-render to avoid flashing, but still update group header+ skipFullRender = true;}}- renderStepDetailContent(detailContent, content, kvps, type);++ if (!skipFullRender) {+ renderStepDetailContent(detailContent, content, kvps, type);+ }}// Update parent group header