Spaces:
Sleeping
Sleeping
Commit
·
1e34c9f
1
Parent(s):
2aa62b9
Remove custom system prompt modal component
Browse files
src/lib/components/SystemPromptModal.svelte
CHANGED
|
@@ -12,14 +12,6 @@
|
|
| 12 |
let isOpen = $state(false);
|
| 13 |
</script>
|
| 14 |
|
| 15 |
-
<button
|
| 16 |
-
type="button"
|
| 17 |
-
class="mx-auto flex items-center gap-1.5 rounded-full border border-gray-100 bg-gray-50 px-3 py-1 text-xs text-gray-500 hover:bg-gray-100 dark:border-gray-800 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700"
|
| 18 |
-
onclick={() => (isOpen = !isOpen)}
|
| 19 |
-
onkeydown={(e) => e.key === "Enter" && (isOpen = !isOpen)}
|
| 20 |
-
>
|
| 21 |
-
<CarbonBlockchain class="text-xxs" /> Using Custom System Prompt
|
| 22 |
-
</button>
|
| 23 |
|
| 24 |
{#if isOpen}
|
| 25 |
<Modal onclose={() => (isOpen = false)} width="w-full !max-w-xl">
|
|
|
|
| 12 |
let isOpen = $state(false);
|
| 13 |
</script>
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
{#if isOpen}
|
| 17 |
<Modal onclose={() => (isOpen = false)} width="w-full !max-w-xl">
|