chore(配置): 更新上游白名单默认值
新增 Kimi/BigModel/Minimax 官方域名到 allowlist 保持示例配置与默认值一致
This commit is contained in:
@@ -413,6 +413,9 @@ func setDefaults() {
|
||||
viper.SetDefault("security.url_allowlist.upstream_hosts", []string{
|
||||
"api.openai.com",
|
||||
"api.anthropic.com",
|
||||
"api.kimi.com",
|
||||
"open.bigmodel.cn",
|
||||
"api.minimaxi.com",
|
||||
"generativelanguage.googleapis.com",
|
||||
"cloudcode-pa.googleapis.com",
|
||||
"*.openai.azure.com",
|
||||
|
||||
Reference in New Issue
Block a user