{item.name} |
- {item.maxContext} |
{formatPrice(item.total)}元 |
{item.lastTime ? formatTimeToChatTime(item.lastTime) : '未使用'} |
@@ -197,42 +195,6 @@ const Share = ({ appId }: { appId: string }) => {
/>
-
-
-
- 最长上下文(组)
-
- {
- setShareChatValues('maxContext', e);
- setRefresh(!refresh);
- }}
- >
-
- {getShareChatValues('maxContext')}
-
-
-
-
-
-
-
-
diff --git a/client/src/pages/chat/components/ChatHistorySlider.tsx b/client/src/pages/chat/components/ChatHistorySlider.tsx
index 40997e85e..24c963e68 100644
--- a/client/src/pages/chat/components/ChatHistorySlider.tsx
+++ b/client/src/pages/chat/components/ChatHistorySlider.tsx
@@ -110,10 +110,10 @@ const ChatHistorySlider = ({
{/* chat history */}
- {concatHistory.map((item) => (
+ {concatHistory.map((item, i) => (
{
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,
|