瀏覽代碼

fix: Remove redundant proxy handling in Python environment setup

Remove duplicate proxy configuration logic when installing Python packages, keeping only the mirror URL configuration
Yeuoly 4 月之前
父節點
當前提交
14a11e8773
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      internal/core/plugin_manager/local_runtime/environment_python.go

+ 0 - 6
internal/core/plugin_manager/local_runtime/environment_python.go

@@ -104,12 +104,6 @@ func (p *LocalPluginRuntime) InitPythonEnvironment() error {
 
 	args := []string{"install"}
 
-	if p.HttpProxy != "" {
-		args = append(args, "--proxy", p.HttpProxy)
-	} else if p.HttpsProxy != "" {
-		args = append(args, "--proxy", p.HttpsProxy)
-	}
-
 	if p.pipMirrorUrl != "" {
 		args = append(args, "-i", p.pipMirrorUrl)
 	}