feat: webhook回调支持口令鉴权
This commit is contained in:
@@ -18,6 +18,9 @@ type Config struct {
|
||||
OpenaiApiBaseUrl string `yaml:"openai_api_base_url"`
|
||||
OpenaiModelName string `yaml:"openai_model_name"`
|
||||
OpenaiPrompt string `yaml:"openai_prompt"`
|
||||
WebServer struct {
|
||||
Token string `yaml:"token"`
|
||||
} `yaml:"web_server"`
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in New Issue
Block a user