tldraw / make-real-starter

Make it real
GNU Affero General Public License v3.0
1.45k stars 242 forks source link

'gpt-4-vision-preview' has been deprecated ? #30

Open julzhk opened 5 months ago

julzhk commented 5 months ago

The toast message says:

'Something went wrong' 'The model gpt-4-vision-preview has been deprecated, learn more here: https://platform.openai.com/d'

Text cut-off in the message.

Thanks in advance, and thanks for the tool!

julzhk commented 5 months ago

Here's something I found: 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.

https://platform.openai.com/docs/deprecations

julzhk commented 5 months ago

I think I resolved this by updating: model: 'gpt-4-vision-preview', to : model: 'gpt-4o',

Suggestions or comments welcome

yminamiyama commented 4 months ago

I've got a similar error with Cursor and UI Sketcher. I don't figure out how I can fix this...

UI Sketcher: Getting webview content UI Sketcher: Panel opened UI Sketcher: Received message with command tldraw:export UI Sketcher: Creating completion UI Sketcher: Unable to create completion 404 The model gpt-4-vision-preview has been deprecated, learn more here: https://platform.openai.com/docs/deprecations

yminamiyama commented 4 months ago

Maybe that is the reason.

Screenshot 2024-06-22 at 13 44 33
Tasfia-Ara commented 3 months ago

Check out this link: https://platform.openai.com/docs/guides/vision?lang=node It suggests to use gpt-4o-mini, and it works