diff --git a/src/lib/components/chat/MessageInput/Suggestions.svelte b/src/lib/components/chat/MessageInput/Suggestions.svelte index e0672ada8..9f09a3952 100644 --- a/src/lib/components/chat/MessageInput/Suggestions.svelte +++ b/src/lib/components/chat/MessageInput/Suggestions.svelte @@ -33,17 +33,27 @@ >
{#if prompt.title && prompt.title[0] !== ''} -
{prompt.title[0]}
+
+ {prompt.title[0]} +
{prompt.title[1]}
{:else} -
+
{prompt.content}
{/if}
-
Prompt
+
+ Prompt +
0) { selectedModelIdx = models.length - 1; } + + onMount(() => { + mounted = true; + }); -{#if models.length > 0} +{#key mounted}
-
+
{#each models as model, modelIdx}
diff --git a/src/routes/(app)/c/[id]/+page.svelte b/src/routes/(app)/c/[id]/+page.svelte index 225fa2ae3..5d7429e59 100644 --- a/src/routes/(app)/c/[id]/+page.svelte +++ b/src/routes/(app)/c/[id]/+page.svelte @@ -5,7 +5,6 @@ import { onMount, tick, getContext } from 'svelte'; import { goto } from '$app/navigation'; import { page } from '$app/stores'; - import { models, modelfiles, @@ -860,8 +859,8 @@ {#if loaded}