enh: workspace models, prompts, tools, functions count

This commit is contained in:
Timothy J. Baek
2024-10-06 21:51:03 -07:00
parent 6f9080dfe0
commit 656e75372c
4 changed files with 42 additions and 13 deletions
+10 -3
View File
@@ -146,8 +146,14 @@
</title>
</svelte:head>
<div class="mb-3 flex justify-between items-center">
<div class=" text-lg font-semibold self-center">{$i18n.t('Tools')}</div>
<div class="mb-3">
<div class="flex justify-between items-center">
<div class="flex md:self-center text-lg font-medium px-0.5">
{$i18n.t('Tools')}
<div class="flex self-center w-[1px] h-6 mx-2.5 bg-gray-200 dark:bg-gray-700" />
<span class="text-lg font-medium text-gray-500 dark:text-gray-300">{$tools.length}</span>
</div>
</div>
</div>
<div class=" flex w-full space-x-2">
@@ -191,7 +197,8 @@
</a>
</div>
</div>
<hr class=" dark:border-gray-850 my-2.5" />
<hr class=" border-gray-50 dark:border-gray-850 my-2.5" />
<div class="my-3 mb-5">
{#each $tools.filter((t) => query === '' || t.name