Explorar el Código

fix: trailing "assistant" message issue

Timothy J. Baek hace 1 año
padre
commit
6d2d2d5519
Se han modificado 2 ficheros con 0 adiciones y 4 borrados
  1. 0 2
      src/routes/(app)/+page.svelte
  2. 0 2
      src/routes/(app)/c/[id]/+page.svelte

+ 0 - 2
src/routes/(app)/+page.svelte

@@ -365,8 +365,6 @@
 					];
 				}
 
-				await tick();
-
 				window.scrollTo({ top: document.body.scrollHeight });
 
 				const res = await fetch(

+ 0 - 2
src/routes/(app)/c/[id]/+page.svelte

@@ -379,8 +379,6 @@
 					];
 				}
 
-				await tick();
-
 				window.scrollTo({ top: document.body.scrollHeight });
 
 				const res = await fetch(