Prechádzať zdrojové kódy

fix: model list update after save

Timothy J. Baek 1 rok pred
rodič
commit
044ee2a78c

+ 1 - 0
src/lib/components/chat/SettingsModal.svelte

@@ -12,6 +12,7 @@
 	const saveSettings = async (updated) => {
 		console.log(updated);
 		await settings.set({ ...$settings, ...updated });
+		await models.set(await getModels());
 		localStorage.setItem('settings', JSON.stringify($settings));
 	};