From 8116b04338716b97f8496a8213022e26c21b8f07 Mon Sep 17 00:00:00 2001 From: Aly Mobarak <147055589+AlyMobarak@users.noreply.github.com> Date: Tue, 21 May 2024 12:07:01 +0300 Subject: [PATCH] Filter message and don't send over any message that has empty contents to OpenAI's API. --- src/routes/(app)/c/[id]/+page.svelte | 32 ++++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/routes/(app)/c/[id]/+page.svelte b/src/routes/(app)/c/[id]/+page.svelte index 668cbba3e..ce9686fbd 100644 --- a/src/routes/(app)/c/[id]/+page.svelte +++ b/src/routes/(app)/c/[id]/+page.svelte @@ -1,25 +1,24 @@