mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-05 18:20:35 -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:
parent
098b2401ea
commit
21113c51a6
1 changed files with 1 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue