Skip to content

Commit 016995f

Browse files
committed
Update download_scientific_skills function to change source path from scientific-skills to skills. Adjust related comments for clarity on the new directory structure in the GitHub repository.
1 parent cea2cd8 commit 016995f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

kady_agent/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ def format_skills_reference(skills: list[dict]) -> str:
8989
def download_scientific_skills(
9090
target_dir: str | None = None,
9191
github_repo: str = "K-Dense-AI/scientific-agent-skills",
92-
source_path: str = "scientific-skills",
92+
source_path: str = "skills",
9393
branch: str = "main"
9494
) -> None:
9595
"""
96-
Download all directories from the scientific-skills folder in the GitHub repository
96+
Download all directories from the skills folder in the GitHub repository
9797
and place them in the target directory using git clone.
9898
9999
Args:
@@ -125,13 +125,13 @@ def download_scientific_skills(
125125
text=True
126126
)
127127

128-
# Path to the scientific-skills folder in the cloned repo
128+
# Path to the skills folder in the cloned repo
129129
source_dir = temp_path / source_path
130130

131131
if not source_dir.exists():
132132
raise FileNotFoundError(f"Source path '{source_path}' not found in repository")
133133

134-
# Copy all skill directories from scientific-skills to target
134+
# Copy all skill directories from skills/ to target
135135
print(f"\n📂 Copying skills to {target_path}...")
136136
skill_count = 0
137137

0 commit comments

Comments
 (0)