Timothy Jaeryang Baek 4 月之前
父节点
当前提交
b0da2c998b
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/lib/components/chat/ModelSelector.svelte

+ 0 - 5
src/lib/components/chat/ModelSelector.svelte

@@ -34,11 +34,6 @@
 			pinnedModels = [...new Set([...pinnedModels, modelId])];
 		}
 
-		if (pinnedModels.length > 5) {
-			toast.error($i18n.t('You can only pin up to 5 models.'));
-			return;
-		}
-
 		settings.set({ ...$settings, pinnedModels: pinnedModels });
 		await updateUserSettings(localStorage.token, { ui: $settings });
 	};