mirror of
https://github.com/open-webui/open-webui.git
synced 2025-04-11 21:39:07 +02: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