pub fn rebuild_model_cache(
db_path: &Path,
index: &ChatSessionIndex,
) -> Result<usize>Expand description
Rebuild the model cache from the session index. This makes sessions visible in the Chat panel sidebar. Only non-empty sessions get entries (VS Code hides empty ones).