ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

[BUG] How to use the unoffical chatbot to have access to the Chatgpt plus

Open xfleezy opened this issue 2 years ago • 26 comments

Hello, I have subscribed to the Chatgpt plus. Does someone have an idea about how to modify unoffical.py to log into the Chatgpt plus when the capacity for the standard Chatgpt is full?

xfleezy avatar Feb 10 '23 16:02 xfleezy

plus one on this, it always return 400 for me.

{"detail":"An error ocurred. Try refreshing your browser."}
Traceback (most recent call last):
  File "/Users/james/openai_python.py", line 8, in <module>
    response = chatbot.ask("who are you", conversation_id='7daf443f-abb2-47e1-b908-14288314226c', parent_id=None) # You can specify custom conversation and parent ids. Otherwise it uses the saved conversation (yes. conversations are automatically saved)
  File "/opt/homebrew/Caskroom/miniconda/base/envs/monolith/lib/python3.9/site-packages/revChatGPT/Unofficial.py", line 160, in ask
    raise HTTPError(
requests.exceptions.HTTPError: Wrong response code: 400! Refreshing session...

xiaoyongzhu avatar Feb 10 '23 18:02 xiaoyongzhu

I also get the same error now.

xfleezy avatar Feb 10 '23 21:02 xfleezy

是的,現在需要chatgpt plus登錄的辦法

thechenv avatar Feb 11 '23 02:02 thechenv

I don't have a plus account so it's difficult to test. I can add support if you share me the model name used by Plus

acheong08 avatar Feb 11 '23 02:02 acheong08

我没有加号帐户,因此很难测试。如果您与我分享 Plus 使用的型号名称,我可以添加支持

我可以給你分享賬戶,希望您能增加此項功能

thechenv avatar Feb 11 '23 02:02 thechenv

I don't have a plus account so it's difficult to test. I can add support if you share me the model name used by Plus

Do you have the account now? If not, I can share my account. Thanks for your contribution!

xfleezy avatar Feb 11 '23 05:02 xfleezy

No need anymore! Official model found once again thanks to @waylaidwanderer

acheong08 avatar Feb 11 '23 05:02 acheong08

It's much faster than plus and no rate limits

acheong08 avatar Feb 11 '23 05:02 acheong08

不需要了!多亏了@waylaidwanderer,官方模型再次被发现

小白該如何使用,比如接入釘釘機器人

thechenv avatar Feb 11 '23 05:02 thechenv

So how to use this with my own plus account?

aliencaocao avatar Feb 11 '23 09:02 aliencaocao

New model dead. I need someone to share me the plus model so I can implement it

acheong08 avatar Feb 11 '23 09:02 acheong08

@xfleezy Mind helping out?

acheong08 avatar Feb 11 '23 09:02 acheong08

New model dead. I need someone to share me the plus model so I can implement it

I can help you. How can I contact you?

jarviszeng-zjc avatar Feb 11 '23 10:02 jarviszeng-zjc

@jarviszeng-zjc [email protected]

I may be slow to respond. Currently extremely busy

acheong08 avatar Feb 11 '23 10:02 acheong08

Change "text-davinci-002-render" to "text-davinci-002-render-paid"

flo3535 avatar Feb 11 '23 10:02 flo3535

Change "text-davinci-002-render" to "text-davinci-002-render-paid"

ah so that was the model name. I will add option in config

acheong08 avatar Feb 11 '23 10:02 acheong08

@xfleezy Mind helping out?

How to contact you? Do you mind sharing your email?

xfleezy avatar Feb 11 '23 14:02 xfleezy

https://github.com/acheong08/ChatGPT/releases/tag/2.0.3 and new readme

acheong08 avatar Feb 11 '23 14:02 acheong08

"text-davinci-002-render-sha" for "turbo"

Jamminroot avatar Feb 11 '23 20:02 Jamminroot

Interestingly enough, that works for free accounts, too; Although I noticed that it still is ratelimited - can't tell numbers, but feels like it is limited to a 3-4 requests per minute; Maybe a cooldown (sometimes getting 429 after third request on plus account)

Jamminroot avatar Feb 11 '23 21:02 Jamminroot

@Jamminroot yeah they're rolling out the turbo model for free accounts

waylaidwanderer avatar Feb 11 '23 21:02 waylaidwanderer

So can we use ChatGPT plus with this repo? What modifications are to be made to make it work?

MichalBortkiewicz avatar Feb 11 '23 21:02 MichalBortkiewicz

Alright, I found out the additional config flag paid:

chatbot = Chatbot({
    "email": "<email>",
    "password": "<password>",
    "paid": True
}, conversation_id=None, parent_id=None) 

MichalBortkiewicz avatar Feb 11 '23 22:02 MichalBortkiewicz

@waylaidwanderer what is turbo mode?

aliencaocao avatar Feb 12 '23 03:02 aliencaocao

@aliencaocao Turbo model.

image

waylaidwanderer avatar Feb 12 '23 04:02 waylaidwanderer

Oh, does it affect accuracy/quality though

aliencaocao avatar Feb 12 '23 05:02 aliencaocao