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

Not working since latest update #17

Open
jamieasp opened this issue Dec 12, 2022 · 8 comments
Open

Not working since latest update #17

jamieasp opened this issue Dec 12, 2022 · 8 comments

Comments

@jamieasp
Copy link

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

@bumandpunk
Copy link

me too

@darwinva97
Copy link

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

@AlexSua
Copy link
Collaborator

AlexSua commented Dec 12, 2022

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.

@MJeremy2017
Copy link

btw, do we support using the API key to login. Guess that's safer and easier for wider adoption.

@Rainjob
Copy link

Rainjob commented Dec 14, 2022

OpenAI sure doesn't feel so open.

@alkollo
Copy link

alkollo commented Dec 14, 2022

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 &amp; security by <a rel="noopener noreferrer" href="https://www.cloudflare.com?utm_source=challenge&utm_campaign=m" target="_blank">Cloudflare</a></div>
    </div>
</div>"

@kazu-321
Copy link

kazu-321 commented Dec 15, 2022

acheong08/ChatGPT#261
I think this issue is deeply related.
(translated by google translate)

@gptlang
Copy link

gptlang commented Dec 27, 2022

Has this been fixed yet?

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

No branches or pull requests

9 participants