clearActiveSttIdentity method
Clears the active STT identity (in-memory spec + persisted prefs).
See clearActiveInferenceIdentity: default throws rather than silently no-op'ing, so a non-overriding implementer fails loudly instead of leaving a stale persisted identity.
Implementation
@override
Future<void> clearActiveSttIdentity() async {
await _ensureInitialized();
try {
final prefs = await SharedPreferences.getInstance();
await ActiveIdentityStore.clear(prefs, ActiveIdentityKind.stt);
_activeSttModel = null;
} catch (e) {
edgeAiLog('[ModelManager] clearActiveSttIdentity failed: $e');
rethrow;
}
edgeAiLog('Active STT identity cleared');
}