pgosar / ChatGDB

Harness the power of ChatGPT inside the GDB or LLDB debugger!
MIT License
901 stars 31 forks source link

TypeError when communicating with GPT API #9

Open martianbilal opened 1 year ago

martianbilal commented 1 year ago

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 commented 1 year ago

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