This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-14 04:15:20 -04:00
1 parent a7fbf66269
commit aedb6bef4e
208 files changed
+1056 -1066

No files matched your search

@@ -68,7 +68,7 @@
<div>
<div class="flex w-full justify-between mb-1">
<div class="self-center text-xs font-medium text-gray-500">{$i18n.t('Builtin Tools')}</div>
<div class="self-center text-xs font-normal text-gray-500">{$i18n.t('Builtin Tools')}</div>
</div>
<div class="flex items-center mt-2 flex-wrap">
{#each allTools as tool}
@@ -84,7 +84,7 @@
<div>
<div class="flex w-full justify-between mb-1">
<div class=" self-center text-xs font-medium text-gray-500">{$i18n.t('Capabilities')}</div>
<div class=" self-center text-xs font-normal text-gray-500">{$i18n.t('Capabilities')}</div>
</div>
<div class="flex items-center mt-2 flex-wrap">
{#each visibleCapabilities as capability}
@@ -27,7 +27,7 @@
<div>
<div class="flex w-full justify-between mb-1">
<div class=" self-center text-xs font-medium text-gray-500">{$i18n.t('Default Features')}</div>
<div class=" self-center text-xs font-normal text-gray-500">{$i18n.t('Default Features')}</div>
</div>
<div class="flex items-center mt-2 flex-wrap">
{#each availableFeatures as feature}
@@ -443,7 +443,7 @@
/>
</svg>
</div>
<div class=" self-center text-sm font-medium">{$i18n.t('Back')}</div>
<div class=" self-center text-sm font-normal">{$i18n.t('Back')}</div>
</button>
{/if}
@@ -636,7 +636,7 @@
>
<LockClosed strokeWidth="2.5" className="size-3.5 shrink-0" />
<div class="text-sm font-medium shrink-0">
<div class="text-sm font-normal shrink-0">
{$i18n.t('Access')}
</div>
</button>
@@ -645,7 +645,7 @@
{#if preset}
<div class="mb-1">
<div class=" text-xs font-medium mb-1 text-gray-500">
<div class=" text-xs font-normal mb-1 text-gray-500">
{$i18n.t('Base Model (From)')}
</div>
@@ -666,7 +666,7 @@
<div class="mb-1">
<div class="mb-1 flex w-full justify-between items-center">
<div class=" self-center text-xs font-medium text-gray-500">
<div class=" self-center text-xs font-normal text-gray-500">
{$i18n.t('Description')}
</div>
@@ -723,14 +723,14 @@
<div class="my-2">
<div class="flex w-full justify-between">
<div class=" self-center text-xs font-medium text-gray-500">
<div class=" self-center text-xs font-normal text-gray-500">
{$i18n.t('Model Params')}
</div>
</div>
<div class="mt-2">
<div class="my-1">
<div class=" text-xs font-medium mb-2">{$i18n.t('System Prompt')}</div>
<div class=" text-xs font-normal mb-2">{$i18n.t('System Prompt')}</div>
<div>
<Textarea
className=" text-sm w-full bg-transparent outline-hidden resize-none overflow-y-hidden "
@@ -744,7 +744,7 @@
</div>
<div class="flex w-full justify-between">
<div class=" self-center text-xs font-medium">
<div class=" self-center text-xs font-normal">
{$i18n.t('Advanced Params')}
</div>
@@ -776,7 +776,7 @@
<div class="my-2">
<div class="flex w-full justify-between items-center">
<div class="flex w-full justify-between items-center">
<div class=" self-center text-xs font-medium text-gray-500">
<div class=" self-center text-xs font-normal text-gray-500">
{$i18n.t('Prompts')}
</div>
@@ -890,7 +890,7 @@
<div class="my-4">
<div class="flex w-full justify-between mb-1">
<div class="self-center text-xs font-medium text-gray-500">
<div class="self-center text-xs font-normal text-gray-500">
{$i18n.t('TTS Voice')}
</div>
</div>
@@ -911,7 +911,7 @@
type="submit"
disabled={loading}
>
<div class=" self-center font-medium">
<div class=" self-center font-normal">
{#if edit}
{$i18n.t('Save & Update')}
{:else}
@@ -929,7 +929,7 @@
<div class="my-2 text-gray-300 dark:text-gray-700 pb-20">
<div class="flex w-full justify-between mb-2">
<div class=" self-center text-sm font-medium">{$i18n.t('JSON Preview')}</div>
<div class=" self-center text-sm font-normal">{$i18n.t('JSON Preview')}</div>
<button
class="p-1 px-3 text-xs flex rounded-sm transition"
@@ -84,7 +84,7 @@
}
}}
>
<div class=" self-center font-medium line-clamp-1">
<div class=" self-center font-normal line-clamp-1">
{$i18n.t('Import')}
</div>
</button>
@@ -100,14 +100,14 @@
saveAs(blob, `prompt-suggestions-export-${Date.now()}.json`);
}}
>
<div class=" self-center font-medium line-clamp-1">
<div class=" self-center font-normal line-clamp-1">
{$i18n.t('Export')}
</div>
</button>
{/if}
<button
class=" px-1.5 rounded-xl transition font-medium text-sm flex items-center"
class=" px-1.5 rounded-xl transition font-normal text-sm flex items-center"
type="button"
on:click={() => {
if (promptSuggestions.length === 0 || promptSuggestions.at(-1).content !== '') {
@@ -15,7 +15,7 @@
{#if terminals.length > 0}
<div class="flex w-full justify-between mb-1">
<div class="self-center text-xs font-medium text-gray-500">{$i18n.t('Terminal')}</div>
<div class="self-center text-xs font-normal text-gray-500">{$i18n.t('Terminal')}</div>
</div>
<select