Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio committed Jun 21, 2023
1 parent aade518 commit 65898ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/EdgeGPT/chathub.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ async def ask_stream(
resp_txt_no_link = ""
retry_count = 5
while True:
if wss.closed:
break
msg = await wss.recv()
if not msg:
retry_count -= 1
Expand Down

0 comments on commit 65898ba

Please sign in to comment.