mirror of
https://github.com/EZ-Api/ez-api.git
synced 2026-01-13 17:47:51 +00:00
feat(provider): add Models field to ProviderDTO and update provider handling
This commit is contained in:
@@ -18,6 +18,7 @@ type Provider struct {
|
||||
BaseURL string `json:"base_url"`
|
||||
APIKey string `json:"api_key"`
|
||||
Group string `gorm:"default:'default'" json:"group"` // routing group/tier
|
||||
Models string `json:"models"` // comma-separated list of supported models (e.g. "gpt-4,gpt-3.5-turbo")
|
||||
}
|
||||
|
||||
type Key struct {
|
||||
|
||||
Reference in New Issue
Block a user