YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: set HF_ENDPOINT early for Chinese mirror before model downloads
Louis Beaumont7ea1eb94eaac
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/main.rs b/apps/screenpipe-app-tauri/src-tauri/src/main.rsindex fe9d48221..c4df0393c 100755--- a/apps/screenpipe-app-tauri/src-tauri/src/main.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/main.rs@@ -1014,6 +1014,12 @@ async fn main() {});app.manage(store.clone());+ // Set Chinese HuggingFace mirror early — before any model downloads+ if store.use_chinese_mirror {+ std::env::set_var("HF_ENDPOINT", "https://hf-mirror.com");+ info!("Chinese HuggingFace mirror enabled (HF_ENDPOINT set early)");+ }+// Resolve data directory from user setting (custom dir or ~/.screenpipe)let (data_dir, data_dir_fell_back) = config::resolve_data_dir(&store.data_dir);info!("Recording data directory: {}", data_dir.display());