Skip to content

Conversation

DonalEvans
Copy link
Contributor

@DonalEvans DonalEvans commented Sep 23, 2025

This will backport the following commits from main to 8.19:

The SenderService.infer() method was converting the input variable from a List into a List, but then when that list was passed into SenderService.createInput() it was immediately converted back into a List. To avoid unnecessary work, allow the EmbeddingsInput constructor to convert the list if necessary.

(cherry picked from commit 8d2c4c3)

…sary (elastic#134945)

The SenderService.infer() method was converting the input variable from
a List<String> into a List<ChunkInferenceInput>, but then when that list
was passed into SenderService.createInput() it was immediately
converted back into a List<String>. To avoid unnecessary work, allow the
EmbeddingsInput constructor to convert the list if necessary.

(cherry picked from commit 8d2c4c3)
@DonalEvans DonalEvans added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.19.5 labels Sep 23, 2025
@elasticsearchmachine elasticsearchmachine merged commit 95c31ad into elastic:8.19 Sep 23, 2025
24 checks passed
@DonalEvans DonalEvans deleted the backport/8.19/pr-134945 branch September 23, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.19.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants