Skip to content

Commit 9134c19

Browse files
committed
use stream_error for both
1 parent 1073eda commit 9134c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/external/openai/OpenAiUnifiedChatCompletionResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private static Exception buildMidStreamError(Request request, String message, Ex
9090
restStatus,
9191
format("%s for request from inference entity id [%s]", SERVER_ERROR_OBJECT, request.getInferenceEntityId()),
9292
errorResponse != null ? errorResponse.getClass().getSimpleName() : "unknown",
93-
"streaming_error"
93+
"stream_error"
9494
);
9595
}
9696
}

0 commit comments

Comments
 (0)