feat: AI 服务商接口兼容 HTTP (#223)

This commit is contained in:
chengma
2026-08-14 11:15:50 +08:00
parent 4d107fb095
commit 1e0b7ad6e1
7 changed files with 57 additions and 17 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ ai:
# 留空时 Admin 正常启动,但不能保存密钥或测试 AI 连接。
secrets_path: ""
# 默认只允许公网 HTTPS 服务。确需访问私有模型端点时,必须由部署人员
# 公网 AI 服务支持 HTTP 和 HTTPS;HTTP 不提供传输加密。确需访问私有模型端点时,必须由部署人员
# 在这里或 CMAUTOBUY_AI_ALLOWED_HOSTS 中按主机名显式允许,网页不能修改。
allowed_hosts: []