XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Update runtime.go

d2e6faae
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -2
Modified g4f-go/runtime.go +1 -2
@@ -160,8 +160,7 @@ func installG4F(binDir, exe string, start time.Time) error {
160 160 fmt.Printf("Installing gpt4free into the embedded Python runtime...\n")
161 161 code, err := runPython(noSignalCtx(), exe, []string{
162 162 "-m", "pip", "install",
163 "--no-input",
164 "--no-cache-dir", "g4f[slim]",
163 "--no-input", "g4f[slim]",
165 164 }, pipEnv(binDir)...)
166 165 if err != nil || code != 0 {
167 166 return fmt.Errorf("pip install g4f failed (exit %d): %w", code, err)