mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-08-17 09:10:26 +03:00
Don't clear installed models.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
e2f64f89c9
commit
5ed9aea410
@ -1712,7 +1712,7 @@ void ModelList::clearDiscoveredModels()
|
||||
{
|
||||
QMutexLocker locker(&m_mutex);
|
||||
for (ModelInfo *info : m_models)
|
||||
if (info->isDiscovered())
|
||||
if (info->isDiscovered() && !info->installed)
|
||||
infos.append(*info);
|
||||
}
|
||||
for (ModelInfo &info : infos)
|
||||
|
Loading…
Reference in New Issue
Block a user