返回提交历史
Modified
g4f/Provider/GradientNetwork.py
+1
-3
XFEstudio/gpt4free
Remove redundant continue statement for cluster message handling
Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>
21113c51
代码差异
1 个文件
+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)