Quellcode durchsuchen

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 vor 4 Monaten
Ursprung
Commit
14a11e8773
1 geänderte Dateien mit 0 neuen und 6 gelöschten Zeilen
  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)
 	}