We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 334363c commit 958be34Copy full SHA for 958be34
plugin/aiimage/main.go
@@ -81,8 +81,8 @@ func init() {
81
}
82
83
cfg := GetConfig()
84
- if cfg.APIKey == "" || cfg.APIURL == "" {
85
- ctx.SendChain(message.Text("请先配置API密钥和地址"))
+ if cfg.APIKey == "" || cfg.APIURL == "" || cfg.ModelName == "" {
+ ctx.SendChain(message.Text("请先配置API密钥、地址和模型"))
86
return
87
88
0 commit comments