fix: fix aio sandbox shutdown bug

This commit is contained in:
hetaoBackend
2026-01-30 21:58:43 +08:00
parent c07c0228f6
commit 43ee8a2968
11 changed files with 1271 additions and 4 deletions

View File

@@ -161,8 +161,8 @@ class ExtensionsConfig(BaseModel):
"""
skill_config = self.skills.get(skill_name)
if skill_config is None:
# Default to enable for public skill, disable for custom
return skill_category == "public"
# Default to enable for public & custom skill
return skill_category in ('public', 'custom')
return skill_config.enabled