From 127474de6f540ef7353388b8dea8a43317fb5665 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 20 Aug 2026 23:25:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=9A=E8=AF=9D=E7=A9=BA=E9=97=B4=20A?= =?UTF-8?q?gentIO=20=E5=8A=A0=20margin(0=2024px=2024px=2024px)=EF=BC=8C?= =?UTF-8?q?=E8=81=8A=E5=A4=A9=E8=BE=93=E5=85=A5=E5=8C=BA=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E8=B4=B4=E8=BE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/agent/index.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wwwroot/agent/index.ui b/wwwroot/agent/index.ui index 7cb154a..961b74b 100644 --- a/wwwroot/agent/index.ui +++ b/wwwroot/agent/index.ui @@ -18,7 +18,7 @@ "event": "click", "actiontype": "script", "target": "self", - "script": "var tp=bricks.getWidgetById('session_tabs',bricks.app);if(!tp)return;var sid='s'+Date.now()+'_'+Math.floor(Math.random()*100000);var n=tp.opts.items.length+1;tp.open_tab({name:'session_'+sid,label:'会话 '+n,removable:true,content:{widgettype:'VBox',options:{css:'filler',width:'100%',height:'100%'},subwidgets:[{widgettype:'urlwidget',options:{url:'/pipeline_core/api/agent_menus.dspy',method:'GET'}},{widgettype:'AgentIO',options:{css:'filler',url:'/pipeline_core/api/agent_chat.dspy?session_id='+sid,model_dataurl:'/pipeline_core/api/agent_model_options.dspy',model_cwidth:14,placeholder:'输入你的需求...'}}]}});" + "script": "var tp=bricks.getWidgetById('session_tabs',bricks.app);if(!tp)return;var sid='s'+Date.now()+'_'+Math.floor(Math.random()*100000);var n=tp.opts.items.length+1;tp.open_tab({name:'session_'+sid,label:'会话 '+n,removable:true,content:{widgettype:'VBox',options:{css:'filler',width:'100%',height:'100%'},subwidgets:[{widgettype:'urlwidget',options:{url:'/pipeline_core/api/agent_menus.dspy',method:'GET'}},{widgettype:'AgentIO',options:{css:'filler',margin:'0 24px 24px 24px',url:'/pipeline_core/api/agent_chat.dspy?session_id='+sid,model_dataurl:'/pipeline_core/api/agent_model_options.dspy',model_cwidth:14,placeholder:'输入你的需求...'}}]}});" }] } ] @@ -48,6 +48,7 @@ "widgettype": "AgentIO", "options": { "css": "filler", + "margin": "0 24px 24px 24px", "url": "/pipeline_core/api/agent_chat.dspy?session_id=default", "model_dataurl": "/pipeline_core/api/agent_model_options.dspy", "model_cwidth": 14,