wip: direct models

This commit is contained in:
Timothy Jaeryang Baek
2025-02-12 01:17:30 -08:00
parent 982b1fb7e2
commit 431e97b03a
20 changed files with 194 additions and 61 deletions
+3 -3
View File
@@ -322,7 +322,7 @@
};
const getModels = async () => {
return await _getModels(localStorage.token);
return await _getModels(localStorage.token, $settings?.directConnections ?? null);
};
let selectedTab = 'general';
@@ -654,8 +654,8 @@
/>
{:else if selectedTab === 'connections'}
<Connections
{saveSettings}
on:save={() => {
saveSettings={async (updated) => {
await saveSettings(updated);
toast.success($i18n.t('Settings saved successfully!'));
}}
/>