From 9a1b2561c847c7997cc09a23ddc27af35f7b191a Mon Sep 17 00:00:00 2001 From: kicer Date: Wed, 23 Sep 2026 11:01:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AFprofile=3D=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E6=A8=A1=E5=9E=8B:bind=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E5=8A=A0=E6=A8=A1=E5=BC=8F=E5=8C=BA(=E5=90=8D=E5=8D=95?= =?UTF-8?q?=E5=8F=96/api/status,=E6=8B=89=E4=B8=8D=E5=88=B0=E6=95=B4?= =?UTF-8?q?=E5=8C=BA=E9=9A=90=E8=97=8F;=E5=BD=93=E5=89=8D=E6=80=81?= =?UTF-8?q?=E6=A0=87=E5=BD=93=E5=89=8D),welcome=E5=A4=B4=E5=83=8F=E5=90=8C?= =?UTF-8?q?=E5=BC=80=E5=BC=B9=E7=AA=97(=E6=97=A0=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E6=97=B6=E6=A8=A1=E5=9E=8B/=E6=A8=A1=E5=BC=8F=E8=AE=B0?= =?UTF-8?q?=E9=A2=84=E9=80=89,ensureSession=E5=BB=BA=E6=A1=A3=E9=80=8F?= =?UTF-8?q?=E4=BC=A0+=E5=BB=BA=E5=90=8Ebind=E5=85=91=E7=8E=B0);=E6=A0=87?= =?UTF-8?q?=E9=A2=98/=E6=8A=BD=E5=B1=89=E8=A1=8Cprofile=E5=B0=8F=E5=BE=BD?= =?UTF-8?q?=E6=A0=87(lab=E7=83=A7=E7=93=B6/zero=E6=9C=88=E7=89=99/?= =?UTF-8?q?=E6=9C=AA=E7=9F=A5=E5=90=8D=E5=9C=86=E7=82=B9),=E5=BC=80?= =?UTF-8?q?=E6=96=B0=E4=BC=9A=E8=AF=9D=E4=B8=8E=E5=88=A0=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E6=B8=85=E7=BB=91=E5=AE=9A=E4=B8=8E=E9=A2=84=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/server/public/index.html | 7 ++- app/server/public/js/chat.js | 1 + app/server/public/js/core.js | 17 +++++- app/server/public/js/sessions.js | 93 +++++++++++++++++++++++++++----- 4 files changed, 103 insertions(+), 15 deletions(-) diff --git a/app/server/public/index.html b/app/server/public/index.html index fa1b8c3..30bf3d6 100644 --- a/app/server/public/index.html +++ b/app/server/public/index.html @@ -88,6 +88,11 @@ margin-bottom: 10px; background: #fff; color: var(--ink); resize: vertical; } #schedule-modal textarea:focus { border-color: var(--active); } + /* 会话模式徽标(profile 绑定时的标题小图标;尺寸显式定,不依赖 .ic 默认值) */ + .prof-badge { display: inline-flex; align-items: center; margin-right: 4px; opacity: .62; flex: none; } + .prof-badge .ic { width: 13px; height: 13px; } + /* welcome 头像兼做「选择模型/模式」入口(与聊天态的「选择模型」同一弹窗) */ + .logo-badge { cursor: pointer; }