SamPink / dev-gpt

dev-gpt, an automated python developer
203 stars 40 forks source link

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

Open Starblue0 opened 1 year ago

Starblue0 commented 1 year ago

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

I keep getting this error

Starblue0 commented 1 year ago

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

SamPink commented 1 year ago

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

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

SurajS0925 commented 1 year ago

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.