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

wanderlust showcase throws error on hugging face #3

Open
hkayabilisim opened this issue Dec 25, 2024 · 3 comments
Open

wanderlust showcase throws error on hugging face #3

hkayabilisim opened this issue Dec 25, 2024 · 3 comments

Comments

@hkayabilisim
Copy link

  1. Go to https://solara.dev/showcase/wanderlust
  2. Click one of the images to go https://huggingface.co/spaces/solara-dev/wanderlust
  3. You will see the error below
  4. It seems related to some change on OpenAI API
    image
@hkayabilisim
Copy link
Author

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.
image

@maartenbreddels
Copy link
Contributor

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!

@hkayabilisim
Copy link
Author

hkayabilisim commented Dec 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants