diff --git a/src/lib/components/chat/ModelSelector.svelte b/src/lib/components/chat/ModelSelector.svelte
index b1a56db26..8f03975ba 100644
--- a/src/lib/components/chat/ModelSelector.svelte
+++ b/src/lib/components/chat/ModelSelector.svelte
@@ -13,6 +13,8 @@
export let selectedModels = [''];
export let disabled = false;
+ export let showSetDefault = true;
+
const saveDefaultModel = async () => {
const hasEmptyModel = selectedModels.filter((it) => it === '');
if (hasEmptyModel.length) {
@@ -106,6 +108,8 @@
{/each}
-
-
-
+{#if showSetDefault}
+
+
+
+{/if}
diff --git a/src/lib/components/layout/Navbar.svelte b/src/lib/components/layout/Navbar.svelte
index 9e6189af8..8b193d45f 100644
--- a/src/lib/components/layout/Navbar.svelte
+++ b/src/lib/components/layout/Navbar.svelte
@@ -9,6 +9,7 @@
import ModelSelector from '../chat/ModelSelector.svelte';
import Tooltip from '../common/Tooltip.svelte';
import Menu from './Navbar/Menu.svelte';
+ import { page } from '$app/stores';
const i18n = getContext('i18n');
@@ -31,7 +32,7 @@
{#if showModelSelector}
-
+
{/if}