diezo / ProGPT

🔥 Free GPT-3.5 Python API
https://buymeacoffee.com/sonii
MIT License
58 stars 8 forks source link

not working #7

Open sarthak501 opened 7 months ago

sarthak501 commented 7 months ago

File "/home/runner/sarthakgpt/main.py", line 6, in print(bot.prompt("who invented electricity?")) File "/home/runner/sarthakgpt/.pythonlibs/lib/python3.10/site-packages/ProGPT/Generative.py", line 84, in prompt if data["message"]["status"] != "finished_successfully": KeyError: 'message' Traceback (most recent call last): File "/home/runner/sarthakgpt/main.py", line 6, in print(bot.prompt("who invented electricity?")) File "/home/runner/sarthakgpt/.pythonlibs/lib/python3.10/site-packages/ProGPT/Generative.py", line 84, in prompt if data["message"]["status"] != "finished_successfully": KeyError: 'message'

diezo commented 7 months ago

@sarthak501 I've figured out the cause of this issue and will implement a solution very soon. In the meantime, please do give this repository a star so that other developers can know about ProGPT as well. Thanks

justin321123 commented 7 months ago

@sarthak501 #5, issue is being solved soonly. No need to open a new one ;)

sarthak501 commented 7 months ago

its been 2 weeks still not working

cycyrild commented 6 months ago

Same error for me

smb-sh commented 6 months ago

i have the same error