feat: context box

This commit is contained in:
archer
2023-07-23 22:58:20 +08:00
parent 6fd83e1e75
commit 6fc6c99477
9 changed files with 88 additions and 67 deletions

View File

@@ -249,7 +249,7 @@ const Chat = ({ appId, chatId }: { appId: string; chatId: string }) => {
appName={chatData.app.name}
appAvatar={chatData.app.avatar}
activeChatId={chatId}
history={history.map((item) => ({
history={history.map((item, i) => ({
id: item.chatId,
title: item.title,
customTitle: item.customTitle,