mirror of
https://github.com/open-webui/open-webui.git
synced 2026-01-03 23:25:21 +00:00
fix: reload ollama models list after model deletion (#19912)
Co-authored-by: Zyfax <kemon@hey.com>
This commit is contained in:
parent
90209a30a8
commit
64dbc71643
1 changed files with 5 additions and 0 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue