We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ebc207 + 18114ea commit 4b1bda5Copy full SHA for 4b1bda5
1 file changed
astrbot/core/skills/neo_skill_sync.py
@@ -95,6 +95,7 @@ def _ensure_skill_frontmatter(markdown: str, *, skill_name: str, skill_key: str)
95
frontmatter, body = _parse_frontmatter(markdown)
96
97
name = frontmatter.get("name") or skill_name
98
+ name = " ".join(str(name).split())
99
description = frontmatter.get("description") or _derive_description(body)
100
if not description:
101
description = f"Synced skill for `{skill_key}`."
0 commit comments