This commit is contained in:
Daniel 2024-02-28 23:36:10 +08:00
parent 9f69d7dc4a
commit 77885a8cc0
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
10 changed files with 35 additions and 3 deletions

View file

@ -37,6 +37,7 @@ type OpenAI struct {
APIBaseURL string `json:"apiBaseURL"`
APIUserAgent string `json:"apiUserAgent"`
APIProvider string `json:"apiProvider"` // OpenAI, Azure
APIVersion string `json:"apiVersion"` // Azure API version
}
func NewAI() *AI {