feat(admin): 渠道管理 - 模型供应商支持渠道级 SOCKS5/HTTP 代理
- ModelChannel 新增 proxy_url 字段,v48 迁移自动加列 - outbound 新增 OutboundHTTPClientWithProxy,socks5/socks5h/http/https 均支持; 目标主机名不做本地解析,直接交给代理服务器远端解析,本地开启 TUN/VPN 时仍可用 - 系统代理、Provider 出站、管理员模型测试路径均使用渠道级代理 - 渠道管理表单新增"代理地址"输入框,留空回退全局代理
This commit is contained in:
1 parent
85c2aa178b
commit
9df34abd6b
13 files changed
+119
-8
No files matched your search
@@ -88,6 +88,7 @@ export type ModelChannel = {
|
||||
hasApiKey?: boolean;
|
||||
hasSecretKey?: boolean;
|
||||
concurrencyLimit?: number;
|
||||
proxyUrl?: string;
|
||||
modelCosts?: Array<{
|
||||
model: string;
|
||||
displayName?: string;
|
||||
|
||||
Reference in new issue
Block a user