feat: changelog.md

This commit is contained in:
Timothy J. Baek 2024-02-23 00:30:26 -08:00
parent 9b27d952f8
commit 9f950aea9c
13 changed files with 237 additions and 154 deletions

View file

@ -31,6 +31,7 @@
import ShortcutsModal from '$lib/components/chat/ShortcutsModal.svelte';
import { getDocs } from '$lib/apis/documents';
import { getAllChatTags } from '$lib/apis/chats';
import ChangelogModal from '$lib/components/ChangelogModal.svelte';
let ollamaVersion = '';
let loaded = false;
@ -348,6 +349,8 @@
</div>
</div>
</div>
{:else}
<ChangelogModal show={true} />
{/if}
<div

View file

@ -14,7 +14,6 @@
chats,
chatId,
config,
showWhatsChanged,
tags as _tags
} from '$lib/stores';
import { copyToClipboard, splitStream } from '$lib/utils';
@ -36,7 +35,6 @@
import Messages from '$lib/components/chat/Messages.svelte';
import ModelSelector from '$lib/components/chat/ModelSelector.svelte';
import Navbar from '$lib/components/layout/Navbar.svelte';
import WhatsChangedModal from '$lib/components/chat//WhatsChangedModal.svelte';
import { RAGTemplate } from '$lib/utils/rag';
let stopResponseFlag = false;
@ -799,9 +797,6 @@
</script>
<div class="h-screen max-h-[100dvh] w-full flex flex-col">
{#if $showWhatsChanged && !['pending'].includes($user.role) && $settings.enableWhatsChanged}
<WhatsChangedModal show={true} />
{/if}
<Navbar {title} shareEnabled={messages.length > 0} {initNewChat} {tags} {addTag} {deleteTag} />
<div class="flex flex-col flex-auto">
<div