From e41f956b722266a1272f771bfa07cc3155aa07f1 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 18 Feb 2024 15:53:54 -0800 Subject: [PATCH] feat: clone preset --- src/routes/(app)/modelfiles/+page.svelte | 26 ++++++++++++++++++ .../(app)/modelfiles/create/+page.svelte | 27 ++++++++++++++++++- src/routes/(app)/prompts/+page.svelte | 26 ++++++++++++++++++ src/routes/(app)/prompts/create/+page.svelte | 14 +++++++++- 4 files changed, 91 insertions(+), 2 deletions(-) diff --git a/src/routes/(app)/modelfiles/+page.svelte b/src/routes/(app)/modelfiles/+page.svelte index cdcb7ae1..b1038b79 100644 --- a/src/routes/(app)/modelfiles/+page.svelte +++ b/src/routes/(app)/modelfiles/+page.svelte @@ -12,6 +12,7 @@ deleteModelfileByTagName, getModelfiles } from '$lib/apis/modelfiles'; + import { goto } from '$app/navigation'; let localModelfiles = []; let importFiles; @@ -145,6 +146,31 @@ + + +