ai-css/library/modelprovider/consts/provider.go

23 lines
376 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package consts
type (
ProviderID int64
ProviderName string
)
type ProviderMeta struct {
ID ProviderID
Name ProviderName
Display string // UI展示名例如 "OpenAI"
Official bool // 是否官方支持
Icon string // 图标URL或资源标识
}
const (
ProviderOpenAI ProviderName = "openai"
)
const (
ProviderIDOpenAI ProviderID = iota + 1
)