feat: rename AllowedToolCodes to ToolWhitelist across skill-related models and requests for consistency

This commit is contained in:
mlogclub
2026-04-12 10:16:03 +08:00
parent 560ebdbf13
commit 44b20813fe
9 changed files with 91 additions and 91 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ func parseSkillAllowedToolCodes(skill *models.SkillDefinition) []string {
if skill == nil {
return nil
}
raw := strings.TrimSpace(skill.AllowedToolCodes)
raw := strings.TrimSpace(skill.ToolWhitelist)
if raw == "" {
return nil
}