Affected Modules
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
- Open any Java class
- Right-click a method and select TestSpark
- Choose HuggingFace and select one of the two Ollama models
- 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
Affected Modules
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
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