Commit 0ce0067
committed
fix(ai): allow empty bizTags to clear all tags for Prompt, Skill and AgentSpec
Remove the bizTags non-blank validation in PromptBizTagsUpdateForm,
SkillBizTagsUpdateForm, and AgentSpecBizTagsUpdateForm. Passing empty
or null bizTags is a valid operation that means clearing all tags, and
the service layer already handles this correctly.
🤖 Generated with [Qoder][https://qoder.com]1 parent 35117f8 commit 0ce0067
3 files changed
Lines changed: 0 additions & 15 deletions
File tree
- ai/src/main/java/com/alibaba/nacos/ai/form
- agentspecs/admin
- prompt
- skills/admin
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 41 | | |
49 | 42 | | |
50 | 43 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
| |||
0 commit comments