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

gpt-4-vision-preview is no longer a valid model. Replace with gpt-4o instead #3596

Closed
saket424 opened this issue Sep 18, 2024 · 1 comment · Fixed by #3597
Closed

gpt-4-vision-preview is no longer a valid model. Replace with gpt-4o instead #3596

saket424 opened this issue Sep 18, 2024 · 1 comment · Fixed by #3597
Labels
enhancement New feature or request roadmap

Comments

@saket424
Copy link

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

For completeness, it should be noted that for the actual OpenAI API (recommended to be used via the openai provider), gpt-4-vision-preview is no longer a valid model.

If you try to use it, you get an error:

invalid_request_error: The model gpt-4-vision-preview has been deprecated, learn more here: https://platform.openai.com/docs/deprecations (code: model_not_found)

Here's the relevant part:

On June 6th, 2024, we notified developers using gpt-4-32k and gpt-4-vision-preview of their upcoming deprecations in one year and six months respectively. As of June 17, 2024, only existing users of these models will be able to continue using them.

Using gpt-4o is the new equivalent to using gpt-4-vision-preview.

Describe alternatives you've considered

Additional context

References to gpt-4-vision-preview in https://github.com/mudler/LocalAI/blob/master/aio/gpu-8g/vision.yaml and

https://github.com/mudler/LocalAI/blob/master/aio/cpu/vision.yaml and

https://github.com/mudler/LocalAI/blob/master/aio/intel/vision.yaml

need to be changed to gpt-4o in the next docker aio pre-packaged templates

Thanks

@saket424 saket424 added the enhancement New feature or request label Sep 18, 2024
@mudler
Copy link
Owner

mudler commented Sep 18, 2024

good point - this is something we should look at. I also want to update the AIO models to have better defaults, but that should be tackled separately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request roadmap
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants