Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
Add comments TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Cheong committed Dec 8, 2022
1 parent ba39a02 commit add55bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/revChatGPT/revChatGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ def get_chat_stream(self, data) -> None:
message = line["message"]["content"]["parts"][0]
self.conversation_id = line["conversation_id"]
self.parent_id = line["message"]["id"]
except:
except: # This needs fixing. Automatic detect blank lines and done lines
continue
yield {
"message": message,
"conversation_id": self.conversation_id,
"parent_id": self.parent_id,
}
except:
except: # Not sure what error occurs here. Needs looking into
continue

def get_chat_text(self, data) -> dict:
Expand Down

0 comments on commit add55bb

Please sign in to comment.