前端profile=会话绑定模型:bind弹窗加模式区(名单取/api/status,拉不到整区隐藏;当前态标当前),welcome头像同开弹窗(无会话时模型/模式记预选,ensureSession建档透传+建后bind兑现);标题/抽屉行profile小徽标(lab烧瓶/zero月牙/未知名圆点),开新会话与删会话清绑定与预选项
This commit is contained in:
@@ -329,6 +329,7 @@
|
||||
const s = detail.session;
|
||||
state.sessionTitle = (s && s.title) || '';
|
||||
state.sessionType = (s && s.assistant_type) || 'secretary'; // 顶部 icon 跟随会话类型
|
||||
state.profile = (s && s.profile) || ''; // 会话绑定模式(头部徽标/弹窗当前态同源)
|
||||
state.status = (s && s.status) || '';
|
||||
state.schedule = detail.schedule || null; // 定时任务状态条数据(随 updatePhaseBar 一并渲染)
|
||||
state.toolCards = {};
|
||||
|
||||
Reference in New Issue
Block a user