diff --git a/src/lib/components/workspace/Prompts/PromptEditor.svelte b/src/lib/components/workspace/Prompts/PromptEditor.svelte index a4a18745b..25920800a 100644 --- a/src/lib/components/workspace/Prompts/PromptEditor.svelte +++ b/src/lib/components/workspace/Prompts/PromptEditor.svelte @@ -3,6 +3,7 @@ import Textarea from '$lib/components/common/Textarea.svelte'; import { toast } from 'svelte-sonner'; + import Tooltip from '$lib/components/common/Tooltip.svelte'; export let onSubmit: Function; export let edit = false; @@ -58,65 +59,54 @@
{ submitHandler(); }} >
-
{$i18n.t('Title')}*
+ +
+
+ +
-
- -
-
- -
-
{$i18n.t('Command')}*
- -
-
- / +
+
/
+ +
- -
- -
- {$i18n.t('Only')} - {$i18n.t('alphanumeric characters and hyphens')} - {$i18n.t('are allowed - Activate this command by typing')} " - /{command} - "   - {$i18n.t('to chat input.')} -
+
-
{$i18n.t('Prompt Content')}*
+
{$i18n.t('Prompt Content')}