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

XFEstudio/gpt4free

Update GptGo.py

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

代码差异

1 个文件 +3 -2
Modified g4f/Provider/GptGo.py +3 -2
@@ -62,5 +62,6 @@ class GptGo(AsyncGeneratorProvider):
62 62 line = json.loads(line[len(start):-1])
63 63 if line["choices"][0]["finish_reason"] == "stop":
64 64 break
65 if content := line["choices"][0]["delta"].get("content"):
66 yield content
65 content = line["choices"][0]["delta"].get("content")
66 if content:
67 yield content