mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
Move local embedding model storage from getCacheDir() to getAiDataDir() (~/.chatlab/ai/models/semantic-index) so the "clear cache" button in settings no longer wipes downloaded models. Also trigger model download immediately in the background when a local model is configured, instead of waiting for the first index build. Download status (idle/downloading/ready/error) is tracked in SemanticIndexService, exposed via the SemanticIndexRuntime interface and worker RPC, and surfaced in the settings UI as a pulsing indicator. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>