mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
fix(backends gallery): meta packages do not have URIs (#5740)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
6f41a6f934
commit
7a78e4f482
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue