From c4f37f61dbf5487a43b16db3e9a6004277182d81 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 31 Aug 2026 19:16:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(isolation):=20=E5=BC=80=E5=8F=91=E4=BA=A7?= =?UTF-8?q?=E7=BA=BF=E5=85=A5=E5=8F=A3=E5=A3=B0=E6=98=8Epipeline=5Fid=3Dsd?= =?UTF-8?q?lc=5Fgeneral=E2=80=94=E2=80=94=E6=A0=B9=E6=B2=BB=E6=AE=8B?= =?UTF-8?q?=E7=95=99=E6=8A=95=E6=A0=87=E9=A1=B9=E7=9B=AE=E5=8A=AB=E6=8C=81?= =?UTF-8?q?=E9=80=9A=E7=94=A8=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/agent/index.ui | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wwwroot/agent/index.ui b/wwwroot/agent/index.ui index 77b3860..d9537de 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?session_id='+sid,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?session_id='+sid,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?session_id='+sid+'&pipeline_id=sdlc_general',method:'GET'}},{widgettype:'AgentIO',options:{css:'filler',margin:'0 24px 24px 24px',url:'/pipeline_core/api/agent_chat.dspy?session_id='+sid+'&pipeline_id=sdlc_general',model_dataurl:'/pipeline_core/api/agent_model_options.dspy?session_id='+sid+'&pipeline_id=sdlc_general',model_cwidth:14,placeholder:'输入你的需求...'}}]}});" }] } ] @@ -42,15 +42,15 @@ "subwidgets": [ { "widgettype": "urlwidget", - "options": {"url": "{{entire_url('/pipeline_core/api/agent_menus.dspy')}}?session_id=default", "method": "GET"} + "options": {"url": "{{entire_url('/pipeline_core/api/agent_menus.dspy')}}?session_id=default&pipeline_id=sdlc_general", "method": "GET"} }, { "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?session_id=default", + "url": "/pipeline_core/api/agent_chat.dspy?session_id=default&pipeline_id=sdlc_general", + "model_dataurl": "/pipeline_core/api/agent_model_options.dspy?session_id=default&pipeline_id=sdlc_general", "model_cwidth": 14, "placeholder": "输入你的需求..." }