clearModelCache method
Clears model cache (legacy method)
⚠️ Note: In Modern API, model persistence is managed by ModelRepository. This method only clears active model references, not installed models. Use deleteModel() to remove installed models.
Implementation
@override
Future<void> clearModelCache() async {
await _ensureInitialized();
// Clear active models
_activeInferenceModel = null;
_activeEmbeddingModel = null;
debugPrint('WebModelManager: Model cache cleared (active models reset)');
}