feat: rename Content field to Instruction across skill-related models and requests for consistency

This commit is contained in:
mlogclub
2026-04-12 10:00:47 +08:00
parent 294ad772de
commit 06abbbeeb6
8 changed files with 23 additions and 23 deletions
@@ -241,7 +241,7 @@ func buildSelectedSkillInstruction(skill *models.SkillDefinition, toolDefinition
if desc := strings.TrimSpace(skill.Description); desc != "" {
lines = append(lines, fmt.Sprintf("- description: %s", desc))
}
if content := strings.TrimSpace(skill.Content); content != "" {
if content := strings.TrimSpace(skill.Instruction); content != "" {
lines = append(lines, "", "技能说明:", content)
}
if examples := parseJSONStringArray(skill.Examples); len(examples) > 0 {