From f543a9ff80af6ff25c6f20f06028def7f1e51240 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Thu, 26 Sep 2024 23:29:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Assistant=20=E7=9A=84=20Prompt=20?= =?UTF-8?q?=E8=BF=87=E9=95=BF=E6=97=B6=E4=BC=9A=E8=B6=85=E5=87=BA=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=20#95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #95 --- src/renderer/src/pages/agents/AgentsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/pages/agents/AgentsPage.tsx b/src/renderer/src/pages/agents/AgentsPage.tsx index d3d8035d..78419865 100644 --- a/src/renderer/src/pages/agents/AgentsPage.tsx +++ b/src/renderer/src/pages/agents/AgentsPage.tsx @@ -29,7 +29,7 @@ const AppsPage: FC = () => { window.modal.confirm({ title: agent.emoji + ' ' + agent.name, - content: agent.description || agent.prompt, + content: (agent.description || agent.prompt).substring(0, 1000) + '...', icon: null, closable: true, maskClosable: true,