From e470fdaf201b93a48553c41e4a8c94ddb520f488 Mon Sep 17 00:00:00 2001 From: ymq Date: Sat, 8 Aug 2026 22:06:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20send=20literal=20\\n=20(0x5c=200x6e)=20d?= =?UTF-8?q?elimiter=20=E2=80=94=20matches=20HttpResponseStream=20split('\\?= =?UTF-8?q?n')?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Confirmed via xxd on bricks.js: split('\\n') splits on backslash-n literal. Backend now yields json + '\\n', matching LmmIO streaming pattern. Frontend: clean AgentIO with url, no ready bind. --- wwwroot/index_cockpit.ui | 9 --------- 1 file changed, 9 deletions(-) diff --git a/wwwroot/index_cockpit.ui b/wwwroot/index_cockpit.ui index 3d5de0a..bc20117 100644 --- a/wwwroot/index_cockpit.ui +++ b/wwwroot/index_cockpit.ui @@ -200,14 +200,5 @@ } ] } - ], - "binds": [ - { - "wid": "self", - "event": "ready", - "actiontype": "script", - "target": "self", - "script": "console.log('DIAG: VBox ready');var ai=bricks.getWidgetById('chat_input',bricks.app);console.log('DIAG: chat_input=',ai?'found':'NOT FOUND','type=',ai?ai.constructor.name:'N/A','url=',ai?ai.opts.url:'N/A');if(ai&&ai.inputw){ai.inputw.unbind('inputed');ai.inputw.bind('inputed',function(e){console.log('DIAG: inputed params=',JSON.stringify(e.params));});}" - } ] } \ No newline at end of file