Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/changelog/119797.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 119797
summary: "[Inference API] Fix bug checking for e5 or reranker default IDs"
area: Machine Learning
type: bug
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void parseRequestConfig(
Map<String, Object> config,
ActionListener<Model> modelListener
) {
if (inferenceEntityId.equals(DEFAULT_ELSER_ID)) {
if (isDefaultId(inferenceEntityId)) {
modelListener.onFailure(
new ElasticsearchStatusException(
"[{}] is a reserved inference Id. Cannot create a new inference endpoint with a reserved Id",
Expand Down