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

Error: The model gpt-4-vision-preview has been deprecated #30

Closed
1 of 2 tasks
kvnptl opened this issue Aug 31, 2024 · 1 comment
Closed
1 of 2 tasks

Error: The model gpt-4-vision-preview has been deprecated #30

kvnptl opened this issue Aug 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kvnptl
Copy link

kvnptl commented Aug 31, 2024

Search before asking

  • I have searched the Multimodal Maestro issues and found no similar bug report.

Bug

ValueError: The model gpt-4-vision-preview has been deprecated, learn more here: https://platform.openai.com/docs/deprecations

Environment

  • Google colab

Minimal Reproducible Example

Run the colab notebook named "multimodal_maestro_gpt_4_vision.ipynb"

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@kvnptl kvnptl added the bug Something isn't working label Aug 31, 2024
@Wheelspawn
Copy link
Contributor

Wheelspawn commented Sep 10, 2024

gpt-4-vision-preview is definitely deprecated.
https://platform.openai.com/docs/deprecations/2024-06-06-gpt-4-32k-and-vision-preview-models

I was able to fix this by simply replacing gpt-4-vision-preview with gpt-4o in maestro/lmms/gpt4.py like the docs suggest. Fortunately, the notebook worked without any further modification.

I've submitted a PR with the change. In the meantime, you can just go to wherever you have the package installed and modify gpt4.py to use gpt-4o.

@kvnptl kvnptl closed this as completed Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants