mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
10 lines
312 B
Go
10 lines
312 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{}
|