We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fd59cc commit 66fc13fCopy full SHA for 66fc13f
app/[docs_id]/chatHistory.tsx
@@ -62,7 +62,7 @@ export function ChatHistoryProvider({ children }: { children: ReactNode }) {
62
newChatHistories[sectionId][chatId] = messages;
63
setChatHistories(newChatHistories);
64
localStorage.setItem(
65
- `chat-${sectionId}-${chatId}`,
+ `chat/${sectionId}/${chatId}`,
66
JSON.stringify(messages)
67
);
68
return chatId;
@@ -80,7 +80,7 @@ export function ChatHistoryProvider({ children }: { children: ReactNode }) {
80
];
81
82
83
84
JSON.stringify(newChatHistories[sectionId][chatId])
85
86
}
0 commit comments