Skip to content

wanderlust showcase throws error on hugging face #3

Open

Description

@hkayabilisim
  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

Activity

  1. hkayabilisim commented on Dec 26, 2024

    @hkayabilisim
    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

  2. maartenbreddels commented on Dec 26, 2024

    @maartenbreddels
    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!

  3. hkayabilisim commented on Dec 26, 2024

    @hkayabilisim
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions