fix(backends gallery): meta packages do not have URIs (#5740)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto
2025-06-27 22:23:14 +02:00
committed by GitHub
parent 6f41a6f934
commit 7a78e4f482

View File

@@ -30,7 +30,7 @@ func (m *GalleryBackend) SetGallery(gallery config.Gallery) {
}
func (m *GalleryBackend) IsMeta() bool {
return len(m.CapabilitiesMap) > 0
return len(m.CapabilitiesMap) > 0 && m.URI == ""
}
func (m *GalleryBackend) SetInstalled(installed bool) {