Skip to content

[9.3] [Inference API] Prevent trailing slashes from being included in URLs (#141692)#142153

Merged
DonalEvans merged 2 commits intoelastic:9.3from
DonalEvans:backport/9.3/pr-141692
Feb 9, 2026
Merged

[9.3] [Inference API] Prevent trailing slashes from being included in URLs (#141692)#142153
DonalEvans merged 2 commits intoelastic:9.3from
DonalEvans:backport/9.3/pr-141692

Conversation

@DonalEvans
Copy link
Contributor

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

…lastic#141692)

Update ElasticInferenceService and AzureAiStudio model classes to
prevent trailing slashes in the base URL causing errors when sending
requests

(cherry picked from commit 8db18bb)

# Conflicts:
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic/densetextembeddings/ElasticInferenceServiceDenseTextEmbeddingsModel.java
#	x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/elastic/completion/ElasticInferenceServiceCompletionModelTests.java
#	x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/elastic/denseembeddings/ElasticInferenceServiceDenseEmbeddingsModelTests.java
@DonalEvans DonalEvans merged commit adc0c2e into elastic:9.3 Feb 9, 2026
35 checks passed
@DonalEvans DonalEvans deleted the backport/9.3/pr-141692 branch February 9, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants