Zai-Kun / reverse-engineered-chatgpt

Unofficial reverse-engineered ChatGPT API in Python
Apache License 2.0
258 stars 35 forks source link

GPT-4 Error #23

Closed DieserLaurenz closed 10 months ago

DieserLaurenz commented 10 months ago

I changed the model name to gpt-4 manually in function create_new_conversation yesterday and it worked perfectly fine. Today i get the following error message:

"Our systems have detected unusual activity from your system. Please try again later."

Full error message (I censored the IDs):

re_gpt.errors.UnexpectedResponseError: An unexpected error occurred. Error message: 'NoneType' object is not subscriptable. This is what the server returned: data: {"message": {"id": {censored}, "author": {"role": "system", "name": null, "metadata": {}}, "create_time": null, "update_time": null, "content": {"content_type": "text", "parts": [""]}, "status": "finished_successfully", "end_turn": true, "weight": 0.0, "metadata": {}, "recipient": "all"}, "conversation_id": {censored}, "error": null}

data: {"message": {"id": {censored}, "author": {"role": "user", "name": null, "metadata": {}}, "create_time": {censored}, "update_time": null, "content": {"content_type": "text", "parts": ["Are you GPT-4?"]}, "status": "finished_successfully", "endturn": null, "weight": 1.0, "metadata": {"timestamp": "absolute", "message_type": null}, "recipient": "all"}, "conversation_id": {censored}, "error": null}

data: {"message": null, "conversation_id": {censored}, "error": "Our systems have detected unusual activity from your system. Please try again later."}

DieserLaurenz commented 10 months ago

Setting it to GPT-3.5 still works tho