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

[BUG] openai.error.InvalidRequestError: That model does not exist #523

Closed
piotrstarzynski opened this issue Feb 2, 2023 · 57 comments
Closed
Labels
bug Something isn't working

Comments

@piotrstarzynski
Copy link

Did they change something or the browserless method is no longer possible?

openai.error.InvalidRequestError: That model does not exist

@piotrstarzynski piotrstarzynski added the bug Something isn't working label Feb 2, 2023
@acheong08
Copy link
Owner

Well, it was good while it lasted. It seems we have been discovered

@gnohgnailoug
Copy link

I encountered this bug too
image

@hoblin
Copy link

hoblin commented Feb 2, 2023

Same on Official

Traceback (most recent call last):
  File "/Users/hoblin/.asdf/installs/python/3.11.1/bin/OfficialChatGPT", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/hoblin/.asdf/installs/python/3.11.1/lib/python3.11/site-packages/revChatGPT/Official.py", line 256, in main
    response = chatbot.ask(PROMPT)
               ^^^^^^^^^^^^^^^^^^^
  File "/Users/hoblin/.asdf/installs/python/3.11.1/lib/python3.11/site-packages/revChatGPT/Official.py", line 41, in ask
    completion = openai.Completion.create(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hoblin/.asdf/installs/python/3.11.1/lib/python3.11/site-packages/openai/api_resources/completion.py", line 25, in create
    return super().create(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hoblin/.asdf/installs/python/3.11.1/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
                           ^^^^^^^^^^^^^^^^^^
  File "/Users/hoblin/.asdf/installs/python/3.11.1/lib/python3.11/site-packages/openai/api_requestor.py", line 227, in request
    resp, got_stream = self._interpret_response(result, stream)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hoblin/.asdf/installs/python/3.11.1/lib/python3.11/site-packages/openai/api_requestor.py", line 620, in _interpret_response
    self._interpret_response_line(
  File "/Users/hoblin/.asdf/installs/python/3.11.1/lib/python3.11/site-packages/openai/api_requestor.py", line 680, in _interpret_response_line
    raise self.handle_error_response(
openai.error.InvalidRequestError: That model does not exist

@acheong08
Copy link
Owner

Yes. It seems OpenAI has shut it down (we were technically unauthorized in the first place haha)

@hoblin
Copy link

hoblin commented Feb 2, 2023

Probably that's the reason =)
https://openai.com/blog/chatgpt-plus/

@acheong08
Copy link
Owner

They also killed the unofficial version temporarily by changing the API. Fix in progress

@jordandadams
Copy link

TEARS! I just built a working bot using this, but time to continue on I guess lol.

@acheong08
Copy link
Owner

Even more tears for me. I spent a ton of time writing the wrapper :(

@jordandadams
Copy link

If I can help in anyway please let me know. I am guessing the unofficial is down also?

@doevent
Copy link
Contributor

doevent commented Feb 2, 2023

working again

@hoblin
Copy link

hoblin commented Feb 2, 2023

Did anybody tried to play with other dates in the engine name?
text-chat-davinci-002-20230126

@acheong08
Copy link
Owner

yes. no luck

@jordandadams
Copy link

working again

Yes, my bot seems to be working also. Have you checked your API key to see if it is using tokens?

@acheong08
Copy link
Owner

Oh it works again for me as well

@player2I0
Copy link

yes for me too

@hoblin
Copy link

hoblin commented Feb 2, 2023

Time to close an issue. I wish all the issues would be solved like this one =)

@Wangyq0617
Copy link

In my project, the error occurred again

@Smiorld
Copy link

Smiorld commented Feb 2, 2023

Same error again

@acheong08
Copy link
Owner

it's gone again. OpenAI trolling us.

@Smiorld
Copy link

Smiorld commented Feb 2, 2023

Not for me though, still got the error

@Strachi-sama
Copy link

Same :(

@jordandadams
Copy link

Yes, they are for sure trolling us no doubt.

@F33RNI
Copy link
Contributor

F33RNI commented Feb 2, 2023

Same

@Strachi-sama
Copy link

Is this still an issue?

@F33RNI
Copy link
Contributor

F33RNI commented Feb 2, 2023

Is this still an issue?

yeah

@qcwthu
Copy link

qcwthu commented Feb 2, 2023

Is there any way we can use revChatGPT now?

@steffanjensen
Copy link

steffanjensen commented Feb 2, 2023

I got it to work again by changing it back to the original:
text-davinci-002-render

Stopped working, I also see the session_token gets updated each hour, before it could go for days..

Be aware of this when you troubleshoot

@F33RNI
Copy link
Contributor

F33RNI commented Feb 2, 2023

This repo is now in a dead state. Will fix when new information gets found. Someone supposedly found the new model name but they are holding it hostage

Maybe we can make some kind of bruteforcer for model names? 😅

@steffanjensen
Copy link

steffanjensen commented Feb 2, 2023

This repo is now in a dead state. Will fix when new information gets found. Someone supposedly found the new model name but they are holding it hostage

Mine works again, this is really weird. I got the 404 just like you, took a 15 min shower..

Now it works again

I'm using the model: text-davinci-002-render

  • Remember to update session_token

Could be some old cache, but now i am just guessing and most unlikely

@dkouyou
Copy link

dkouyou commented Feb 2, 2023

Mine works again, this is really weird. I got the 404 just like you, took a 15 min shower..

Now it works again

Using the Official API way or teh Reversed API way?

@steffanjensen
Copy link

Mine works again, this is really weird. I got the 404 just like you, took a 15 min shower..
Now it works again

Using the Official API way or teh Reversed API way?

Im using the reserved api.. ;)

@steffanjensen
Copy link

steffanjensen commented Feb 2, 2023

Looks like i misunderstod the entire thread, you guys was running the api browserless for free..

Didnt even know that, but yeah browser method still works

@acheong08
Copy link
Owner

Looks like i misunderstod the entire thread, you guys was running the api browserless for free..

Didnt even know that, but yeah browser method still works

it does? it broke for me.

@amittell
Copy link

amittell commented Feb 2, 2023

Nothing working for me either, browserless or broswer method.

openai.error.InvalidRequestError: That model does not exist :(

@fengqingthu
Copy link

Not working for me either: openai.error.InvalidRequestError: That model does not exist

@dkouyou
Copy link

dkouyou commented Feb 2, 2023

My script is running right now using the reversed API (browser method), with a session_token update 1-2 hours ago.

@antoine-lombardo
Copy link

antoine-lombardo commented Feb 2, 2023

This one is working for me: text-davinci-003
Here is a way to fetch the available model names using the api.

@F33RNI
Copy link
Contributor

F33RNI commented Feb 2, 2023

This one is working for me: text-davinci-003 Here is a way to fetch the available model names using the api.

Thank you very much! It worked! 🥳

@naruto716
Copy link

This one is working for me: text-davinci-003 Here is a way to fetch the available model names using the api.

This is the official API of GPT 3. It's stable, but not really as intelligent as ChatGPT.

@jordandadams
Copy link

My script is running right now using the reversed API (browser method), with a session_token update 1-2 hours ago.

This may be a shot in the dark, but is it possible to use the Browser Required API with a discord bot?

@naruto716
Copy link

My script is running right now using the reversed API (browser method), with a session_token update 1-2 hours ago.

This may be a shot in the dark, but is it possible to use the Browser Required API with a discord bot?

Yes and I made one. I’m wondering if that supports async tho.

@jordandadams
Copy link

jordandadams commented Feb 2, 2023

My script is running right now using the reversed API (browser method), with a session_token update 1-2 hours ago.

This may be a shot in the dark, but is it possible to use the Browser Required API with a discord bot?

Yes and I made one. I’m wondering if that supports async tho.

In node or Python? Mine is currently built in Python and I am guessing I may need to switch over to Node?

@steffanjensen
Copy link

My script is running right now using the reversed API (browser method), with a session_token update 1-2 hours ago.

@acheong08

@acheong08
Copy link
Owner

Closing in favor of unified thread

@TryMee3
Copy link

TryMee3 commented Feb 10, 2023

openai.error.InvalidRequestError: That model does not exist

Its not working again...
Anyone having the same issue currently or recently?
i thot it was back like yesterday.

@Mr-Ma123
Copy link

text-davinci-003 no

@ghostas301
Copy link

print(openai.Model.list()) pour obtenir la liste des model fonctionnel

@ghostas301
Copy link

gpt-3.5-turbo-0301

@8bitaby
Copy link

8bitaby commented Mar 28, 2023

OpenAI seems to be moving away from models designed for specific coding tasks, and instead general models that can handle both text and code. Pass in ''code-davinci-002", to comply with the latest updates, please use "text-davinci-003".

@kmlacr
Copy link

kmlacr commented Jun 14, 2023

THE KING THANKS!! ITS WORKING NOW

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests