Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"The requested model 'gpt-4-turbo-preview' does not exist." #5

Open
pipe878 opened this issue Apr 4, 2024 · 3 comments
Open

"The requested model 'gpt-4-turbo-preview' does not exist." #5

pipe878 opened this issue Apr 4, 2024 · 3 comments

Comments

@pipe878
Copy link

pipe878 commented Apr 4, 2024

Hi Everyone,
im kind of new with all of this, after following the instructions for install, i get the following error when trying to run agency.py for WebDevCrafters

from None
openai.BadRequestError: Error code: 400 - {'error': {'message': "The requested model 'gpt-4-turbo-preview' does not exist.", 'type': 'invalid_request_error', 'param': 'model', 'code': 'model_not_found'}}

can someone tell me how to change the model or so?
thanks!

@7underlines
Copy link

7underlines commented Apr 12, 2024

I guess the model got renamed by OpenAi because it's no longer in preview.
They still list it on their models page, but that might be outdated.
https://platform.openai.com/docs/models/continuous-model-upgrades

Doing a quick search on the repository reveals that the preview model is currently used in 2 files. You can try to change it there.
https://github.com/search?q=repo%3AVRSEN%2Fagency-swarm-lab+gpt-4-turbo-preview&type=code

@VRSEN
Copy link
Owner

VRSEN commented Apr 12, 2024

Typically this occurs if your OpenAI account is not on a paid plan. Please add a billing method, refill your balance a bit and try again.

@BuckRogers01
Copy link

BuckRogers01 commented Apr 13, 2024

That was my issue, had to put money into OpenAi so my api key would work, it's a different account than if you use ChatGpt. After that it kinda worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants