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

No answer no error #42

Open
sergedc opened this issue Apr 3, 2024 · 1 comment
Open

No answer no error #42

sergedc opened this issue Apr 3, 2024 · 1 comment

Comments

@sergedc
Copy link

sergedc commented Apr 3, 2024

Hi, great project. Thank you for keeping it up to date.

When I try it, all I see as output is my prompt, but the answer never comes. The script never ends, I waited 30 minutes.
I saw another post saying this does not work with GPT 4? I have chatGPT plus. How do I tell the code to use GPT 3.5? Might that be the reason it is not working for me?

@Barrierml
Copy link
Contributor

Barrierml commented Apr 7, 2024

  1. if you are chatGPT plus, then your account need arkose key, I never test pass it before in this project, so i am uncertain of it
  2. I suggest you go straight to no-sign mode, If the requests are not very frequent
from re_gpt import AsyncChatGPT
import asyncio

async def main():
    async with AsyncChatGPT() as chatgpt:
        conversation = chatgpt.create_new_conversation()
        async for message_chunk in conversation.chat("hello"):
            print(message_chunk["content"], flush=True, end="")

if __name__ == "__main__":
    asyncio.run(main())

you can use it at https://github.com/Barrierml/reverse-engineered-chatgpt firstly

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