mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix
This commit is contained in:
parent
1fa16d73f0
commit
16f09fff63
1 changed files with 2 additions and 2 deletions
|
|
@ -634,7 +634,7 @@
|
||||||
|
|
||||||
let docs = [];
|
let docs = [];
|
||||||
|
|
||||||
if (model.info.meta.knowledge) {
|
if (model?.info?.meta?.knowledge ?? false) {
|
||||||
docs = model.info.meta.knowledge;
|
docs = model.info.meta.knowledge;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -842,7 +842,7 @@
|
||||||
|
|
||||||
let docs = [];
|
let docs = [];
|
||||||
|
|
||||||
if (model.info.meta.knowledge) {
|
if (model?.info?.meta?.knowledge ?? false) {
|
||||||
docs = model.info.meta.knowledge;
|
docs = model.info.meta.knowledge;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue