chore: format

This commit is contained in:
Timothy Jaeryang Baek
2025-10-26 19:33:39 -07:00
parent 54c05ac6e0
commit a70bc52c34
70 changed files with 378 additions and 1417 deletions
+3 -1
View File
@@ -1443,7 +1443,9 @@
</InputMenu>
{#if showWebSearchButton || showImageGenerationButton || showCodeInterpreterButton || showToolsButton || (toggleFilters && toggleFilters.length > 0)}
<div class="flex self-center w-[1px] h-4 mx-1 bg-gray-200/50 dark:bg-gray-800/50" />
<div
class="flex self-center w-[1px] h-4 mx-1 bg-gray-200/50 dark:bg-gray-800/50"
/>
<IntegrationsMenu
selectedModels={atSelectedModel ? [atSelectedModel.id] : selectedModels}
@@ -55,7 +55,7 @@
$: fileUploadEnabled =
fileUploadCapableModels.length === selectedModels.length &&
($user?.role === 'admin' || $user?.permissions?.chat?.file_upload);
$: if (!fileUploadEnabled && files.length > 0) {
files = [];
}
+1 -1
View File
@@ -34,4 +34,4 @@
>
<span>{keys.map(formatKey).join(isMac ? '' : '+')}</span>
</div>
{/if}
{/if}
@@ -34,18 +34,18 @@
<div class=" flex items-center gap-2 mr-3">
<div class="self-center flex items-center">
<Checkbox
state={_actions[action].is_global
? 'checked'
: _actions[action].selected
? 'checked'
: 'unchecked'}
disabled={_actions[action].is_global}
on:change={(e) => {
if (!_actions[action].is_global) {
_actions[action].selected = e.detail === 'checked';
selectedActionIds = Object.keys(_actions).filter((t) => _actions[t].selected);
}
}}
state={_actions[action].is_global
? 'checked'
: _actions[action].selected
? 'checked'
: 'unchecked'}
disabled={_actions[action].is_global}
on:change={(e) => {
if (!_actions[action].is_global) {
_actions[action].selected = e.detail === 'checked';
selectedActionIds = Object.keys(_actions).filter((t) => _actions[t].selected);
}
}}
/>
</div>