forked from open-webui/open-webui
feat: chat history incognito mode
This commit is contained in:
parent
77a4c4ce3e
commit
13d9e6675e
4 changed files with 332 additions and 262 deletions
|
@ -609,6 +609,12 @@
|
|||
chat = await updateChatById(localStorage.token, _chatId, { title: _title });
|
||||
await chats.set(await getChatList(localStorage.token));
|
||||
};
|
||||
|
||||
onMount(async () => {
|
||||
if (!($settings.saveChatHistory ?? true)) {
|
||||
await goto('/');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<svelte:window
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue