Skip to content

Generating tests with HuggingFace leads to 404 #499

@PhilippStraubinger

Description

@PhilippStraubinger

Affected Modules

  • UI
  • EvoSuite
  • LLM
  • Kex
  • Other (please specify)

Bug Description

Attempting to generate tests using a HuggingFace token (with either of the two supported models) results in a 404 error.

Steps to Reproduce

  1. Open any Java class
  2. Right-click a method and select TestSpark
  3. Choose HuggingFace and select one of the two Ollama models
  4. Click Generate → an IntelliJ error notification appears with a 404 error (no additional details provided)

Expected Behavior

The test generation process completes successfully.

Additional Information

According to the API reference of HuggingFace, the issue could be a missing api/ in the URL

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions