Skip to content

Commit 99fbf88

Browse files
committed
Fix compile error
1 parent 2f8f926 commit 99fbf88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/alibabacloudsearch/action/AlibabaCloudSearchCompletionActionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public void testExecute_ThrowsIllegalArgumentException_WhenInputIsNotChatComplet
122122
PlainActionFuture<InferenceServiceResults> listener = new PlainActionFuture<>();
123123
assertThrows(IllegalArgumentException.class, () -> {
124124
action.execute(
125-
new EmbeddingsInput(List.of(randomAlphaOfLength(10)), null, InputType.INGEST),
125+
new EmbeddingsInput(List.of(randomAlphaOfLength(10)), InputType.INGEST),
126126
InferenceAction.Request.DEFAULT_TIMEOUT,
127127
listener
128128
);

0 commit comments

Comments
 (0)