ARTICLE AD BOX
I'm building an Eclipse plugin for code completion using the Hugging Face API. My plugin sends a prompt to the endpoint:
https://router.huggingface.co/hf-inference/v1/chat/completionsI replaced the old endpoint (https://api-inference.huggingface.co) as recommended.
Here’s my Java request code:
When I run this, I always get:
Response code: 422 Raw body length: 24Can someone suggest a free Hugging Face model that works for code completion in Java/Eclipse?
