fix: Assistant 的 Prompt 过长时会超出组件 #95

close #95
This commit is contained in:
kangfenmao 2024-09-26 23:29:04 +08:00
parent 5299a2a687
commit f543a9ff80

View File

@ -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,