feat: personalised greeting

This commit is contained in:
Timothy J. Baek 2024-02-25 12:34:32 -08:00
parent 0d9e38a0ce
commit 8dce6b4b49

View file

@ -1,5 +1,6 @@
<script lang="ts"> <script lang="ts">
import { WEBUI_BASE_URL } from '$lib/constants'; import { WEBUI_BASE_URL } from '$lib/constants';
import { user } from '$lib/stores';
import { onMount } from 'svelte'; import { onMount } from 'svelte';
export let models = []; export let models = [];
@ -63,7 +64,9 @@
</div> </div>
{/if} {/if}
{:else} {:else}
How can I help you today? <div class=" line-clamp-1">Hello, {$user.name}</div>
<div>How can I help you today?</div>
{/if} {/if}
</div> </div>
</div> </div>