This commit is contained in:
Timothy Jaeryang Baek
2024-11-16 04:41:07 -08:00
parent 931e03bd9e
commit 932de8f1e2
9 changed files with 309 additions and 214 deletions
@@ -71,7 +71,7 @@
const upsertModelHandler = async (model) => {
model.base_model_id = null;
if (models.find((m) => m.id === model.id)) {
if (workspaceModels.find((m) => m.id === model.id)) {
await updateModelById(localStorage.token, model.id, model).catch((error) => {
return null;
});