first draft

This commit is contained in:
Jannik Streidl 2024-02-22 11:54:55 +01:00
parent 5fd1acbd99
commit 230f787da1
8 changed files with 149 additions and 6 deletions

View file

@ -14,6 +14,7 @@
chats,
chatId,
config,
showWhatsChanged,
tags as _tags
} from '$lib/stores';
import { copyToClipboard, splitStream } from '$lib/utils';
@ -35,6 +36,7 @@
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;
@ -797,6 +799,9 @@
</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