From 79d7e135ec01da876c23c724ab55fe128d737290 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 2 Mar 2024 18:35:19 -0800 Subject: [PATCH] refac --- .../playground/ChatCompletion.svelte | 105 +++++++++++++++ .../playground/TextCompletion.svelte | 0 src/routes/(app)/playground/+page.svelte | 120 ++---------------- 3 files changed, 113 insertions(+), 112 deletions(-) create mode 100644 src/lib/components/playground/ChatCompletion.svelte create mode 100644 src/lib/components/playground/TextCompletion.svelte diff --git a/src/lib/components/playground/ChatCompletion.svelte b/src/lib/components/playground/ChatCompletion.svelte new file mode 100644 index 00000000..e3d822d6 --- /dev/null +++ b/src/lib/components/playground/ChatCompletion.svelte @@ -0,0 +1,105 @@ + + +
+ {#each messages as message, idx} +
+
+ +
+ +
+