fix: reload ollama models list after model deletion (#19912)

Co-authored-by: Zyfax <kemon@hey.com>
This commit is contained in:
Zyfax
2025-12-12 17:15:26 +01:00
committed by GitHub
parent 90209a30a8
commit 64dbc71643

View File

@@ -453,6 +453,11 @@
$config?.features?.enable_direct_connections && ($settings?.directConnections ?? null)
)
);
ollamaModels = await getOllamaModels(localStorage.token, urlIdx).catch((error) => {
toast.error(`${error}`);
return null;
});
};
const cancelUpdateModelHandler = async (model: string) => {