File tree Expand file tree Collapse file tree
src/main/java/nl/dannyj/mistral Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public class MistralHeaderInterceptor implements Interceptor {
3030
3131 public MistralHeaderInterceptor (@ NonNull String apiKey ) {
3232 if (apiKey .isBlank ()) {
33- throw new IllegalArgumentException ("No API key provided in MistralClient " );
33+ throw new IllegalArgumentException ("No API key provided" );
3434 }
3535
3636 this .apiKey = apiKey ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public class HttpService {
3939 private final OkHttpClient httpClient ;
4040
4141 /**
42- * Constructor that initializes the HttpService with a provided MistralClient .
42+ * Constructor that initializes the HttpService with a provided OkHttpClient .
4343 *
4444 * @param httpClient The OkHttpClient to be used for making requests to the Mistral AI API
4545 */
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public class MistralService {
5858 private final Validator validator ;
5959
6060 /**
61- * Constructor that initializes the MistralService with a provided MistralClient and HttpService .
61+ * Constructor that initializes the MistralService with a provided HttpService and ObjectMapper .
6262 *
6363 * @param httpService The HttpService to be used for making HTTP requests to the Mistral AI API
6464 * @param objectMapper The ObjectMapper to be used for converting objects to and from JSON
You can’t perform that action at this time.
0 commit comments