Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError when communicating with GPT API #9

Open
bilalnaeemcs opened this issue Jun 7, 2023 · 1 comment
Open

TypeError when communicating with GPT API #9

bilalnaeemcs opened this issue Jun 7, 2023 · 1 comment

Comments

@bilalnaeemcs
Copy link

Hi I got this error complaining the JSON object must be str not bytes, is this a known problem? In the meantime I can try to debug the problem :

gdb-peda$ explain Python Exception <class 'TypeError'>: the JSON object must be str, not 'bytes' Error occurred in Python: the JSON object must be str, not 'bytes'

@pgosar
Copy link
Owner

pgosar commented Jun 8, 2023

Cannot reproduce. Sometimes ChatGPT just hallucinates but if it reoccurs constantly make sure you're on the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants