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

XFEstudio/gpt4free

Remove redundant continue statement for cluster message handling

Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>

21113c51
copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -3
Modified g4f/Provider/GradientNetwork.py +1 -3
@@ -109,9 +109,7 @@ class GradientNetwork(AsyncGeneratorProvider, ProviderModelMixin):
109 109 if content:
110 110 yield content
111 111
112 elif msg_type in ("clusterInfo", "blockUpdate"):
113 # Skip GPU cluster visualization messages
114 continue
112 # Skip clusterInfo and blockUpdate GPU visualization messages
115 113
116 114 except json.JSONDecodeError:
117 115 # Skip non-JSON lines (may be partial data or empty)