From 72150330280bd7d683de8124b72e5fea35dc9b8a Mon Sep 17 00:00:00 2001 From: mirivlad Date: Mon, 11 May 2026 00:06:22 +0800 Subject: [PATCH] Keep runtime messages out of chat --- app/api/static/index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/api/static/index.html b/app/api/static/index.html index 0eb333f..6a79437 100644 --- a/app/api/static/index.html +++ b/app/api/static/index.html @@ -374,8 +374,8 @@ return; } if (result.message && !result.step_results) { - const bubble = addSystemMessage("Runtime", result.message); - addFeedbackControls(bubble, result.message); + addSystemMessage("Runtime", result.message); + return; } if (result.step_results && Array.isArray(result.step_results)) { for (const step of result.step_results) { @@ -394,8 +394,7 @@ addFeedbackControls(bubble, result.output); return; } - const bubble = addJsonBubble("Runtime", result); - addFeedbackControls(bubble, JSON.stringify(result)); + addRuntimeJson("Runtime", result); } function addEvent(event) {