mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-24 13:07:53 +08:00
Remove redundant continue statement for cluster message handling
Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>
This commit is contained in:
@@ -109,9 +109,7 @@ class GradientNetwork(AsyncGeneratorProvider, ProviderModelMixin):
|
||||
if content:
|
||||
yield content
|
||||
|
||||
elif msg_type in ("clusterInfo", "blockUpdate"):
|
||||
# Skip GPU cluster visualization messages
|
||||
continue
|
||||
# Skip clusterInfo and blockUpdate GPU visualization messages
|
||||
|
||||
except json.JSONDecodeError:
|
||||
# Skip non-JSON lines (may be partial data or empty)
|
||||
|
||||
Reference in New Issue
Block a user