AI rule node: change validation message for system prompt to be more consistent with others
This commit is contained in:
parent
201060e268
commit
8d87031b9a
@ -36,7 +36,7 @@ public class TbAiNodeConfiguration implements NodeConfiguration<TbAiNodeConfigur
|
|||||||
@NotNull
|
@NotNull
|
||||||
private AiModelSettingsId aiModelSettingsId;
|
private AiModelSettingsId aiModelSettingsId;
|
||||||
|
|
||||||
@Pattern(regexp = ".*\\S.*", message = "must contain at least one non-whitespace character")
|
@Pattern(regexp = ".*\\S.*", message = "must not be blank")
|
||||||
@Length(min = 1, max = 10000)
|
@Length(min = 1, max = 10000)
|
||||||
private String systemPrompt;
|
private String systemPrompt;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user