wanderlust
wanderlust copied to clipboard
wanderlust showcase throws error on hugging face
- Go to https://solara.dev/showcase/wanderlust
- Click one of the images to go https://huggingface.co/spaces/solara-dev/wanderlust
- You will see the error below
- It seems related to some change on OpenAI API
A workaround is to switch the OpenAI assistant used in the usecase to v1. In the assistant management screen below you can see the switch button. It will give deprecation warning, but the usecase will continue working for a while until the code is updated for v2.
Thanks for the heads up! I tried that, and got: "Failed to fetch beta assistant: The v1 Assistants API has been deprecated. Please try again by setting the header 'OpenAI-Beta: assistants=v2'. See the migration guide for more information: https://platform.openai.com/docs/assistants/migration."
I'll try to fix it very soon!
It gives that error on OpenAI webpage, but strangely the API starts working. I worked for me!
update: there is something fishy here now my hf clone works without any problem with (1) fresh OpenAI API key without any modification (2) fresh assistant without any modification (default which is v2) (3) requirements solara==1.36