feat(stt): pass last assistant response as Whisper context to reduce mishearings

This commit is contained in:
2026-04-07 09:57:07 -04:00
parent d75d34ce8e
commit 36350d35b1
3 changed files with 18 additions and 6 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ class VoiceRepository {
const VoiceRepository(this._api);
Future<VoiceStatus> checkStatus() => _api.checkStatus();
Future<String> transcribe(Uint8List audioBytes) => _api.transcribe(audioBytes);
Future<String> transcribe(Uint8List audioBytes, {String? context}) =>
_api.transcribe(audioBytes, context: context);
Future<Uint8List> synthesise(String text) => _api.synthesise(text);
}