diff --git a/src/lib/components/workspace/Tools.svelte b/src/lib/components/workspace/Tools.svelte index d8738c9fb..7d524b825 100644 --- a/src/lib/components/workspace/Tools.svelte +++ b/src/lib/components/workspace/Tools.svelte @@ -77,9 +77,12 @@ class=" flex space-x-4 cursor-pointer w-full px-3 py-2 dark:hover:bg-white/5 hover:bg-black/5 rounded-xl" >
- +
-
+
{tool.name}
diff --git a/src/lib/components/workspace/Tools/ToolkitEditor.svelte b/src/lib/components/workspace/Tools/ToolkitEditor.svelte index ef181d776..9e9685173 100644 --- a/src/lib/components/workspace/Tools/ToolkitEditor.svelte +++ b/src/lib/components/workspace/Tools/ToolkitEditor.svelte @@ -21,7 +21,7 @@ }; export let content = ''; - $: if (name) { + $: if (name && !edit) { id = name.replace(/\s+/g, '_').toLowerCase(); } @@ -96,7 +96,7 @@ /> +{:else} +
+
+ +
+
{/if}