diff --git a/src/lib/components/workspace/Functions.svelte b/src/lib/components/workspace/Functions.svelte index 25a8a8540..2618b25b3 100644 --- a/src/lib/components/workspace/Functions.svelte +++ b/src/lib/components/workspace/Functions.svelte @@ -174,8 +174,14 @@ -
-
{$i18n.t('Functions')}
+
+
+
+ {$i18n.t('Functions')} +
+ {$functions.length} +
+
@@ -219,7 +225,7 @@
-
+
{#each $functions.filter((f) => query === '' || f.name diff --git a/src/lib/components/workspace/Models.svelte b/src/lib/components/workspace/Models.svelte index 4541b1cc9..46b676c84 100644 --- a/src/lib/components/workspace/Models.svelte +++ b/src/lib/components/workspace/Models.svelte @@ -294,7 +294,15 @@ }} /> -
{$i18n.t('Models')}
+
+
+
+ {$i18n.t('Models')} +
+ {$models.length} +
+
+
@@ -337,9 +345,10 @@
-
- +
+ +
-
+
{#each _models.filter((m) => searchValue === '' || m.name diff --git a/src/lib/components/workspace/Prompts.svelte b/src/lib/components/workspace/Prompts.svelte index c1a7e2e06..7f2b1d920 100644 --- a/src/lib/components/workspace/Prompts.svelte +++ b/src/lib/components/workspace/Prompts.svelte @@ -64,8 +64,14 @@ -
-
{$i18n.t('Prompts')}
+
+
+
+ {$i18n.t('Prompts')} +
+ {$prompts.length} +
+
@@ -109,7 +115,8 @@
-
+ +
{#each $prompts.filter((p) => query === '' || p.command.includes(query)) as prompt} diff --git a/src/lib/components/workspace/Tools.svelte b/src/lib/components/workspace/Tools.svelte index fbbaa8878..a3ddaae0d 100644 --- a/src/lib/components/workspace/Tools.svelte +++ b/src/lib/components/workspace/Tools.svelte @@ -146,8 +146,14 @@ -
-
{$i18n.t('Tools')}
+
+
+
+ {$i18n.t('Tools')} +
+ {$tools.length} +
+
@@ -191,7 +197,8 @@
-
+ +
{#each $tools.filter((t) => query === '' || t.name