diff --git a/components/ModelSelect.vue b/components/ModelSelect.vue index f20c3d3..8c7fc35 100644 --- a/components/ModelSelect.vue +++ b/components/ModelSelect.vue @@ -5,7 +5,7 @@ const {t} = useI18n() const {selectedModel, openModelSelect} = useGlobalState() onMounted(() => { const model = localStorage.getItem('selectedModel') - selectedModel.value = models.find(i => i.id === model) || textGenModels[0] + selectedModel.value = models.find(i => i.id === model) || uniModals[0] }) watch(selectedModel, v => { localStorage.setItem('selectedModel', v.id)