AI rule node: change validation message for system prompt to be more consistent with others

This commit is contained in:
Dmytro Skarzhynets 2025-07-02 16:57:48 +03:00
parent 201060e268
commit 8d87031b9a
No known key found for this signature in database
GPG Key ID: 2B51652F224037DF

View File

@ -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;