clearActiveTtsIdentity method
Clears the active TTS 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> clearActiveTtsIdentity() async {
await _ensureInitialized();
try {
final prefs = await SharedPreferences.getInstance();
await ActiveIdentityStore.clear(prefs, ActiveIdentityKind.tts);
_activeTtsModel = null;
} catch (e) {
edgeAiLog('[ModelManager] clearActiveTtsIdentity failed: $e');
rethrow;
}
edgeAiLog('Active TTS identity cleared');
}