feat(core): notification transcript

Signed-off-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
rhunk
2025-07-05 00:49:59 +02:00
parent dc5b91a42a
commit 56e434cb15
4 changed files with 64 additions and 4 deletions

View File

@@ -1056,6 +1056,10 @@
"preferred_transcription_lang": {
"name": "Preferred Transcription Language",
"description": "The preferred language for the voice note transcript (e.g. EN, ES, FR)"
},
"notification_transcript": {
"name": "Notification Transcript",
"description": "Transcribes voice notes in notifications\nThis feature requires the Chat Preview feature to be enabled in Better Notifications"
}
}
},

View File

@@ -20,6 +20,7 @@ class Experimental : ConfigContainer() {
class BetterTranscriptConfig: ConfigContainer(hasGlobalState = true) {
val forceTranscription = boolean("force_transcription") { requireRestart() }
val preferredTranscriptionLang = string("preferred_transcription_lang") { requireRestart() }
val notificationTranscript = boolean("notification_transcript") { requireRestart() }
}
class ComposerHooksConfig: ConfigContainer(hasGlobalState = true) {