fix: correct misleading docstring in seed_models (#1561)
## Summary - Fixed stale docstring in `seed_models()` that referenced `.cache/huggingface/hub` when the function actually moves models to `EXO_MODELS_DIR` (resolved via `ensure_models_dir()`) - The old docstring was misleading for AI coding agents analyzing the codebase, causing incorrect conclusions about model storage paths ## Changes `src/exo/download/download_utils.py`: Updated docstring from `"Move model in resources folder of app to .cache/huggingface/hub"` to `"Move models from resources folder to EXO_MODELS_DIR."` Co-authored-by: rltakashige <rl.takashige@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3006c8ea4e
commit
a16ff2c047
@@ -142,7 +142,7 @@ async def delete_model(model_id: ModelId) -> bool:
|
||||
|
||||
|
||||
async def seed_models(seed_dir: str | Path):
|
||||
"""Move model in resources folder of app to .cache/huggingface/hub"""
|
||||
"""Move models from resources folder to EXO_MODELS_DIR."""
|
||||
source_dir = Path(seed_dir)
|
||||
dest_dir = await ensure_models_dir()
|
||||
for path in source_dir.iterdir():
|
||||
|
||||
Reference in New Issue
Block a user