From 6d2d2d5519c10d65c1f1b3ef5c05d60cd12251d5 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 22 Dec 2023 21:22:17 -0800 Subject: [PATCH] fix: trailing "assistant" message issue --- src/routes/(app)/+page.svelte | 2 -- src/routes/(app)/c/[id]/+page.svelte | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/routes/(app)/+page.svelte b/src/routes/(app)/+page.svelte index f7dd320b..c0885d19 100644 --- a/src/routes/(app)/+page.svelte +++ b/src/routes/(app)/+page.svelte @@ -365,8 +365,6 @@ ]; } - await tick(); - window.scrollTo({ top: document.body.scrollHeight }); const res = await fetch( diff --git a/src/routes/(app)/c/[id]/+page.svelte b/src/routes/(app)/c/[id]/+page.svelte index e063a5bc..6ff95cd5 100644 --- a/src/routes/(app)/c/[id]/+page.svelte +++ b/src/routes/(app)/c/[id]/+page.svelte @@ -379,8 +379,6 @@ ]; } - await tick(); - window.scrollTo({ top: document.body.scrollHeight }); const res = await fetch(