mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-18 23:45:55 +08:00
fix
This commit is contained in:
parent
1fa16d73f0
commit
16f09fff63
@ -634,7 +634,7 @@
|
||||
|
||||
let docs = [];
|
||||
|
||||
if (model.info.meta.knowledge) {
|
||||
if (model?.info?.meta?.knowledge ?? false) {
|
||||
docs = model.info.meta.knowledge;
|
||||
}
|
||||
|
||||
@ -842,7 +842,7 @@
|
||||
|
||||
let docs = [];
|
||||
|
||||
if (model.info.meta.knowledge) {
|
||||
if (model?.info?.meta?.knowledge ?? false) {
|
||||
docs = model.info.meta.knowledge;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user