tldraw / make-real-starter

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

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

Open julzhk opened 1 week ago

julzhk commented 1 week 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 1 week 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 1 week ago

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

Suggestions or comments welcome

yminamiyama commented 1 week 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 1 week ago

Maybe that is the reason.

Screenshot 2024-06-22 at 13 44 33