dev-gpt icon indicating copy to clipboard operation
dev-gpt copied to clipboard

openai.error.InvalidRequestError: The model: `gpt-4` does not exist

Open Starblue0 opened this issue 2 years ago • 3 comments

openai.error.InvalidRequestError: The model: gpt-4 does not exist

I keep getting this error

Starblue0 avatar Apr 12 '23 18:04 Starblue0

Please add so it can use the gpt 3.5-turbo to use until API access is avaliable for gpt4

Starblue0 avatar Apr 12 '23 18:04 Starblue0

You can change to gpt-3 in the in the GPT4 class constructor

gpt4 = GPT4(config.OPENAI_API_KEY, model="3.5-turbo")

SamPink avatar Apr 14 '23 06:04 SamPink

At present the GPT 4 API is restricted even if you have chat GPT subscription

You may need to join the (https://openai.com/waitlist/gpt-4-api) for the API.

SurajS0925 avatar Jul 02 '23 16:07 SurajS0925