Skip to content

Commit

Permalink
Remove unnecessary copyOf
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Mar 8, 2024
1 parent e7f3bf1 commit 5bfe6a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public Builder user(String user) {
}

public EmbeddingsRequest build() {
return new EmbeddingsRequest(List.copyOf(input), model, encodingFormat, dimensions, user);
return new EmbeddingsRequest(input, model, encodingFormat, dimensions, user);
}
}
}

0 comments on commit 5bfe6a2

Please sign in to comment.