mirror of
https://github.com/open-webui/open-webui
synced 2025-01-30 22:39:03 +00:00
fix
This commit is contained in:
parent
1fa16d73f0
commit
16f09fff63
@ -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 New Issue
Block a user