You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ilariapet (Jira)" <ji...@apache.org> on 2026/09/08 07:10:00 UTC
[jira] [Updated] (SOLR-18000) HuggingFace Embedding Failure Due to Deprecated Endpoint in langchain4j
[ https://issues.apache.org/jira/browse/SOLR-18000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ilariapet updated SOLR-18000:
-----------------------------
Fix Version/s: 10.0
> HuggingFace Embedding Failure Due to Deprecated Endpoint in langchain4j
> -----------------------------------------------------------------------
>
> Key: SOLR-18000
> URL: https://issues.apache.org/jira/browse/SOLR-18000
> Project: Solr
> Issue Type: Bug
> Affects Versions: 9.10
> Reporter: ilariapet
> Priority: Major
> Labels: pull-request-available
> Fix For: 10.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> When attempting to use any HuggingFace embedding model within Solr’s LLM module, the request fails:
> {code:java}
> "error": {"msg": "status code: 410; body: {\"error\":\"https://api-inference.huggingface.co is no longer supported. Please use https://router.huggingface.co instead.\"}", {code}
> A recent commit in langchain4j changed the {*}default BASE_URL{*}, switching from the deprecated endpoint to the new one:
> [https://github.com/langchain4j/langchain4j/commit/048b07a7ffd44932f9a8f9a7edc7a8d19d0d4c61]
> However, this fix has not yet been included in an official langchain4j release.
> Update the langchain4j dependency in Solr to a version that includes the BASE_URL fix.{{{}{}}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org