mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00:00
fix: model edit
This commit is contained in:
parent
bd6ccf8c15
commit
1fbcf13371
@ -103,10 +103,11 @@
|
|||||||
info.base_model_id = `${info.base_model_id}:latest`;
|
info.base_model_id = `${info.base_model_id}:latest`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
params = { ...params, ...model?.info?.params };
|
||||||
|
|
||||||
if (model?.info?.meta?.capabilities) {
|
if (model?.info?.meta?.capabilities) {
|
||||||
capabilities = { ...capabilities, ...model?.info?.meta?.capabilities };
|
capabilities = { ...capabilities, ...model?.info?.meta?.capabilities };
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(model);
|
console.log(model);
|
||||||
} else {
|
} else {
|
||||||
goto('/workspace/models');
|
goto('/workspace/models');
|
||||||
|
Loading…
Reference in New Issue
Block a user