Skip to content

Commit fab6521

Browse files
Fixing long line issue
1 parent 59c6738 commit fab6521

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/external/http/retry/UnifiedChatCompletionErrorResponseUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ public static UnifiedChatCompletionErrorParserContract createErrorParserWithObje
6666
* Creates a {@link UnifiedChatCompletionErrorParserContract} that uses a generic parser function to parse the error response.
6767
* This is useful for cases where the error response can be parsed using custom logic, typically when parsing from a map.
6868
*
69-
* @param genericParser The function that takes an {@link XContentParser} and returns an {@link Optional<UnifiedChatCompletionErrorResponse>}.
69+
* @param genericParser The function that takes an {@link XContentParser} and returns an
70+
* {@link Optional<UnifiedChatCompletionErrorResponse>}.
7071
* @param <E> The type of exception that the parser can throw.
7172
* @return A {@link UnifiedChatCompletionErrorParserContract} instance.
7273
*/

0 commit comments

Comments
 (0)