mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-09 03:18:18 +00:00
refac
This commit is contained in:
parent
9281adc564
commit
f192657dc9
2 changed files with 2 additions and 2 deletions
|
|
@ -561,7 +561,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
const getFullModel = async (model) =>
|
||||
const getFullModel = async (model: any) =>
|
||||
workspaceModels.some((workspaceModel) => workspaceModel.id === model.id)
|
||||
? ((await getModelById(localStorage.token, model.id).catch(() => null)) ?? model)
|
||||
: model;
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@
|
|||
);
|
||||
};
|
||||
|
||||
const getFullModel = async (model) =>
|
||||
const getFullModel = async (model: any) =>
|
||||
(await getModelById(localStorage.token, model.id).catch(() => null)) ?? model;
|
||||
|
||||
const cloneModelHandler = async (model) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue