mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: model edit
This commit is contained in:
parent
bd6ccf8c15
commit
1fbcf13371
1 changed files with 2 additions and 1 deletions
|
|
@ -103,10 +103,11 @@
|
|||
info.base_model_id = `${info.base_model_id}:latest`;
|
||||
}
|
||||
|
||||
params = { ...params, ...model?.info?.params };
|
||||
|
||||
if (model?.info?.meta?.capabilities) {
|
||||
capabilities = { ...capabilities, ...model?.info?.meta?.capabilities };
|
||||
}
|
||||
|
||||
console.log(model);
|
||||
} else {
|
||||
goto('/workspace/models');
|
||||
|
|
|
|||
Loading…
Reference in a new issue