We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 879c5e2 commit 0ab4ff2Copy full SHA for 0ab4ff2
spring-ai-model/src/main/java/org/springframework/ai/model/SimpleApiKey.java
@@ -31,11 +31,11 @@ public record SimpleApiKey(String value) implements ApiKey {
31
32
/**
33
* Create a new SimpleApiKey.
34
- * @param value the API key value, must not be null or empty
35
- * @throws IllegalArgumentException if value is null or empty
+ * @param value the API key value, must not be null
+ * @throws IllegalArgumentException if value is null
36
*/
37
public SimpleApiKey(String value) {
38
- Assert.notNull(value, "API key value must not be null or empty");
+ Assert.notNull(value, "API key value must not be null");
39
this.value = value;
40
}
41
0 commit comments