mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-05-06 22:12:23 +08:00
11 lines
325 B
Go
11 lines
325 B
Go
package settings
|
|
|
|
type OpenAI struct {
|
|
BaseUrl string `json:"base_url" binding:"omitempty,url"`
|
|
Token string `json:"token" binding:"omitempty,alpha_num_dash_dot"`
|
|
Proxy string `json:"proxy" binding:"omitempty,url"`
|
|
Model string `json:"model" binding:"omitempty,alpha_num_dash_dot"`
|
|
}
|
|
|
|
var OpenAISettings = OpenAI{}
|