Not working since latest update
jamieasp opened this issue ยท 8 comments
Thanks for the update - excited to try streaming.
Neither .stream nor .chat are working for me since the last update though:
conversation.chat(query)
Traceback (most recent call last):
File "", line 1, in
File "/home/runner/replitappname/venv/lib/python3.8/site-packages/chatgpt/chatgpt.py", line 412, in chat
raise ChatgptError(
chatgpt.errors.ChatgptError: \n
me too
me too
This code:
`
#!/usr/bin/env python
-- coding: utf-8 --
import sys
from chatgpt import Conversation
conversation = Conversation()
for chunk in conversation.stream("We are going to start a conversation. I will speak English and you will speak Portuguese."):
print(chunk, end="")
sys.stdout.flush()
print(conversation.chat("What's the color of the sky?"))
`
doing nothing
The guys from openAI has updated the login mechanism. I think I know how to fix the thing, and I will make an update to address the issue today or tomorrow.
btw, do we support using the API key to login. Guess that's safer and easier for wider adoption.
OpenAI sure doesn't feel so open.
Got an error, I think it comes from Cloudflare protection
"
<div class="footer" role="contentinfo">
<div class="footer-inner">
<div class="clearfix diagnostic-wrapper">
<div class="ray-id">Ray ID: <code>77999b74e9781294</code></div>
</div>
<div class="text-center">Performance & security by <a rel="noopener noreferrer" href="https://www.cloudflare.com?utm_source=challenge&utm_campaign=m" target="_blank">Cloudflare</a></div>
</div>
</div>"
acheong08/ChatGPT#261
I think this issue is deeply related.
(translated by google translate)
Has this been fixed yet?