mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-20 04:44:46 +08:00
fix: fix aio sandbox shutdown bug
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user