Skip to content

Commit c09bcfa

Browse files
author
Max Hniebergall
committed
precommit
1 parent dd9ac2b commit c09bcfa

File tree

1 file changed

+2
-1
lines changed
  • x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/inference/results

1 file changed

+2
-1
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/inference/results/ResultUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ public class ResultUtils {
1414

1515
public static ElasticsearchStatusException createInvalidChunkedResultException(String expectedResultName, String receivedResultName) {
1616
return new ElasticsearchStatusException(
17-
"Received incompatible results. Check that your model_id matches the task_type of this endpoint. Expected chunked output of type [{}] but received [{}].",
17+
"Received incompatible results. Check that your model_id matches the task_type of this endpoint. "
18+
+ "Expected chunked output of type [{}] but received [{}].",
1819
RestStatus.CONFLICT,
1920
expectedResultName,
2021
receivedResultName

0 commit comments

Comments
 (0)