refactor: update artifact_huggingface_download.sh to use dest paths without type field

Updated link_model() and verify_model_links() functions to:
- Extract target directory directly from dest path (e.g., "checkpoints/model.safetensors")
- Remove model_type parameter from function signatures
- Support multiple target directories per model when files go to different locations
- Simplified function calls throughout the script

Also added bin/ directory to .gitignore allowlist to track utility scripts.

This change complements the models_huggingface.yaml refactoring that embedded
the type directory in the dest paths.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-25 19:21:27 +01:00
parent c99904674c
commit f736c5705c

2
.gitignore vendored
View File

@@ -20,6 +20,8 @@
!.hushlogin !.hushlogin
!arty.yml !arty.yml
!signature.txt !signature.txt
!bin/
!bin/**
# Ignore so we won't commit these in the allowed dirctories. # Ignore so we won't commit these in the allowed dirctories.
.DS_Store .DS_Store