Files
1Panel/agent/app/model/featured_model.go
T
ssongliu 30381a3c68 feat(ai): streamline deployments and add local model selection (#14293)
* feat(ai): split model management and add weight provider filters

* feat(ai): streamline deployments and add local model selection
2026-11-03 23:54:22 +08:00

19 lines
791 B
Go

package model
type FeaturedModel struct {
BaseModel
Key string `json:"key"`
Sort int `json:"sort"`
Family string `json:"family"`
RepoID string `json:"repoID"`
WeightProvider string `json:"weightProvider"`
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"`
}