From 13ceac889e995b2a8f5e9cb16dfd61c79e6b4dc6 Mon Sep 17 00:00:00 2001 From: Guofang Date: Tue, 10 Nov 2026 10:05:52 +0800 Subject: [PATCH] Fix directory check for HF_HUB_CACHE to ensure correct path --- bash_guofang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_guofang b/bash_guofang index 6f0dd22..726fbe7 100644 --- a/bash_guofang +++ b/bash_guofang @@ -1,7 +1,7 @@ alias claude='env -u TERM_PROGRAM https_proxy=http://localhost:3128 claude' alias codex="all_proxy=http://localhost:3128 codex --dangerously-bypass-approvals-and-sandbox" alias hf="env -u HF_HUB_OFFLINE all_proxy=http://localhost:3128 hf" -if [ -d /data ]; then +if [ -d /data/guofang ]; then export HF_HUB_CACHE=/data/guofang/.cache/huggingface/hub fi export HF_HUB_OFFLINE=1