소스 검색

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)
 	}