excalidraw / excalidraw

Virtual whiteboard for sketching hand-drawn like diagrams
https://excalidraw.com
MIT License
84.21k stars 7.94k forks source link

`gpt-4-vision-preview` has been deprecated #8209

Open ishkumarr opened 4 months ago

ishkumarr commented 4 months ago

Excalidraw's Wireframe to code is not working (I think it should use gpt4o in backend) , when a frame is drawn, it gives output as follows.

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

image image

dwelle commented 4 months ago

Will be fixed over the weekend.

jscrui commented 3 months ago

Hey, anyupdate?

tonyzorin commented 3 months ago

CleanShot 2024-07-15 at 01 09 51

Arch38 commented 3 months ago

Any updates? Mine still not working and i have even changed the model to gpt-4o

omerls-pw commented 3 months ago

The issue persists :( image

griffinht commented 2 months ago

I think #8279 might fix this

knd775 commented 2 months ago

I think #8279 might fix this

I couldn't get that branch to work, could've been an issue with my key, though

captalphabet commented 3 weeks ago

If this hasn't been fixed yet,

You replace the mention of 'gpt-4-vision-preview' from the main.js file. Mine was for the obsidian plug in specifically.

Simply:

sed -i 's/gpt-4-vision-preview/gpt-4o/g' main.js

NathanWindisch commented 2 days ago

If this hasn't been fixed yet,

You replace the mention of 'gpt-4-vision-preview' from the main.js file. Mine was for the obsidian plug in specifically.

Simply:

sed -i 's/gpt-4-vision-preview/gpt-4o/g' main.js

I was able to at least get an output with this command, however I replaced gpt-4o with gpt-4o-mini as it also has vision capabilities. I was also using obsidian, and had to edit .obsidian/plugins/obsidian-excalidraw-plugin/main.js as described above, and then restart Obsidian.