The stat command was producing multi-line output which broke the pipe-delimited return format of verify_model_download(). Fixed by: - Testing which stat format works (Linux vs macOS) before executing - Using proper format flags to get single-line date output - Defaulting to 'Unknown' instead of relying on fallback chain This fixes the issue where all models showed as 'NOT DOWNLOADED' even when present in the cache.
45 KiB
Executable File
45 KiB
Executable File