mirror of
https://github.com/EZ-Api/ez-api.git
synced 2026-01-13 17:47:51 +00:00
feat(models): add kind and models_meta snapshot
This commit is contained in:
@@ -60,6 +60,7 @@ type Provider struct {
|
||||
type Model struct {
|
||||
gorm.Model
|
||||
Name string `gorm:"uniqueIndex;not null" json:"name"`
|
||||
Kind string `gorm:"size:50;default:'chat'" json:"kind"`
|
||||
ContextWindow int `json:"context_window"`
|
||||
CostPerToken float64 `json:"cost_per_token"`
|
||||
SupportsVision bool `json:"supports_vision"`
|
||||
|
||||
Reference in New Issue
Block a user