You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
311 B
Go
11 lines
311 B
Go
package settings
|
|
|
|
type OpenAI struct {
|
|
BaseUrl string `json:"base_url" binding:"omitempty,url"`
|
|
Token string `json:"token" binding:"omitempty,safety_text"`
|
|
Proxy string `json:"proxy" binding:"omitempty,url"`
|
|
Model string `json:"model" binding:"omitempty,safety_text"`
|
|
}
|
|
|
|
var OpenAISettings = OpenAI{}
|