diff --git a/ui/plugins/ui/merge.plugin.js b/ui/plugins/ui/merge.plugin.js index 9606d39c..8e74cf61 100644 --- a/ui/plugins/ui/merge.plugin.js +++ b/ui/plugins/ui/merge.plugin.js @@ -733,5 +733,5 @@ })() async function getLoraKeywords(model) { return Bucket.retrieve(`modelinfo/lora/${model}`) - .then((info) => info.keywords) + .then((info) => info ? info.keywords : []) }