feat(web): Agent add ai prompt

This commit is contained in:
zhaoying
2025-12-25 16:18:26 +08:00
parent bfed5404b4
commit 29ffd0d810
8 changed files with 348 additions and 53 deletions

View File

@@ -361,7 +361,7 @@ const Chat: FC<ChatProps> = ({ chatList, data, updateChatList, handleSave, sourc
data={chat.list || []}
streamLoading={compareLoading}
labelPosition="top"
labelFormat={(item) => item.role === 'user' ? 'You' : chat.label}
labelFormat={(item) => item.role === 'user' ? t('application.you') : chat.label}
errorDesc={t('application.ReplyException')}
/>