From 1845ddf8c2ecf40823e820f56aee416b7dc780b8 Mon Sep 17 00:00:00 2001 From: Jaakko Vanhala Date: Sun, 5 Apr 2026 08:00:13 +0300 Subject: [PATCH] =?UTF-8?q?viestien=20siistimist=C3=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- network-poc/static/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/network-poc/static/index.html b/network-poc/static/index.html index e37d710..1768e18 100644 --- a/network-poc/static/index.html +++ b/network-poc/static/index.html @@ -2395,13 +2395,13 @@ if (codeResults.children.length > 10) codeResults.removeChild(codeResults.lastChild); } - // Kuuntele coder-tuloksia UI WebSocketista (vain ei-agents-tehtävät) + // Kuuntele coder-tuloksia UI WebSocketista (vain codelab-tehtävät) uiSocket.addEventListener('message', (event) => { try { const data = JSON.parse(event.data); if (data.type === 'llm_done' && (data.model || '').includes('Coder')) { - // Ohita agents-pipelinen tehtävät — ne käsitellään kpnRun:issa - if (data.task_id && activeStreams[data.task_id]) return; + // Agents-pipeline asettaa aina task_id:n, codelabin user_text-polku ei koskaan + if (data.task_id) return; addCodeResult(data); } } catch(e) {}