mirror of
https://github.com/YFGaia/dify-plus.git
synced 2026-06-12 18:11:42 +08:00
3bad30bff1
从 Dify provider_credentials 的 encrypted_config 中读取 bedrock_proxy_url 字段, 若非空则将 HTTP 请求经该代理(host:port 或 http://host:port)转发到 AWS Bedrock, 不再强制直连 bedrock-runtime.{region}.amazonaws.com。 变更: - ProviderCredentials 新增 BedrockProxyURL 字段 - ConfigKeyBedrockProxyURL 常量 - GetDifyProviderCredentials 提取 bedrock_proxy_url(明文,不解密) - proxyBedrockRequest 根据 BedrockProxyURL 配置 http.Transport.Proxy