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 prefs.remove(PreferencesKeys.activeTtsName);
await prefs.remove(PreferencesKeys.activeTtsModelType);
_activeTtsModel = null;
} catch (e) {
gemmaLog('[ModelManager] clearActiveTtsIdentity failed: $e');
rethrow;
}
gemmaLog('Active TTS identity cleared');
}