skill folder update

This commit is contained in:
qixinbo
2026-03-18 16:34:40 +08:00
parent c75e8dfe84
commit 7e1a31624f
3 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ router = APIRouter()
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
DATA_FILE = os.path.join(BASE_DIR, "data", "skills.json")
SKILL_HUB_DIR = os.path.join(BASE_DIR, "data", "skill-hub")
SKILL_HUB_DIR = os.path.join(BASE_DIR, "data", "workspace", "skills")
# Ensure skill-hub directory exists
os.makedirs(SKILL_HUB_DIR, exist_ok=True)