mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-11-06 00:05:34 +00:00
* feat(ai): open source model marketplace and migrate historical data * fix(ai): wait for canceled model downloads before retrying
18 lines
733 B
Go
18 lines
733 B
Go
package model
|
|
|
|
type FeaturedModel struct {
|
|
BaseModel
|
|
Key string `json:"key"`
|
|
Sort int `json:"sort"`
|
|
Family string `json:"family"`
|
|
RepoID string `json:"repoID"`
|
|
Sources []string `json:"sources" gorm:"serializer:json"`
|
|
SourceModelIDs map[string]string `json:"sourceModelIds" gorm:"serializer:json"`
|
|
Architecture string `json:"architecture"`
|
|
BackboneParams string `json:"backboneParams"`
|
|
ActiveParams string `json:"activeParams"`
|
|
Engram string `json:"engram"`
|
|
WeightGB float64 `json:"weightGB"`
|
|
Description string `json:"description"`
|
|
}
|