Dashboardopencode-loreEmbedding model purge classification

Embedding model purge classification

Category: gotcha
Confidence: 1.00
ID: 01a0a99a-1c82-7439-af58-4a2c6ae44007
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0IlNEZeIJziYPH1rR
Created: 2026-09-16 09:44:04
Updated: 2026-09-16 09:44:04

Content

Trap: purging after any model-load-looking failure seems self-healing, but network, authorization, permanent HTTP, or vendored-model failures create a purge→redownload→fail loop that hammers Hugging Face Hub. Fix: purge only proven-corrupt cached models under <cacheDir>/<modelId>; never purge read-only vendored models. Match transformers.js inference dumps only against the leading log string, not later formatted arguments, and keep network/model-corruption signatures distinct.

Move to: