From b34d5890cf2c39c3b52f79bd51dad34a33b56cd1 Mon Sep 17 00:00:00 2001 From: rayen Date: Wed, 19 Aug 2026 14:52:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=8F=E4=BC=A0=20session=5Fprompt=5F?= =?UTF-8?q?right=20=E6=8F=92=E6=A7=BD=EF=BC=8C=E4=BF=AE=E5=A4=8D=E5=AF=B9?= =?UTF-8?q?=20oc-tps=20=E7=AD=89=E6=8F=90=E7=A4=BA=E5=8C=BA=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E9=81=AE=E6=8C=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 2486ea5..c01a441 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1578,6 +1578,9 @@ const tui: TuiPlugin = async (api: TuiPluginApi) => { onSubmit={input.on_submit} ref={input.ref} hint={} + // 接管 session_prompt 后需透传宿主的 session_prompt_right 插槽, + // 否则 oc-tps 等依赖该插槽的插件无法显示;无注册时 Slot 为 null。 + right={} /> ) },