fluffychat/lib/utils
wcjord f6a048ca3e
feat: embed STT transcription in audio event content (#5731)
* feat: embed STT transcription in audio event content

Before sending the audio event, the client now fetches the STT
transcript first, then embeds it under 'user_stt' in the event
content. This mirrors the 'original_sent' pattern for text messages
and lets the bot read the transcript immediately without downloading
audio or calling choreo.

- Add ModelKey.userStt constant
- Rewrite onVoiceMessageSend to get transcript before sending audio
- Update getSpeechToTextLocal() to check userStt before botTranscription

* chore: replace inaccurate comment with TODO referencing #5730

* formatting

* fix pangea comments

* feat: make stt translations relate to pangea message events instead of stt representation events

* clean up pangea event types

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2026-02-18 12:39:38 -05:00
..
matrix_sdk_extensions Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
voip Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
account_bundles.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
account_config.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
adaptive_bottom_sheet.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
background_push.dart chore: log badge error to google analytic instead of sentry (#5718) 2026-02-17 09:50:21 -05:00
beautify_string_extension.dart style: Use robotomono to display device keys 2023-02-17 08:45:49 +01:00
client_download_content_extension.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
client_manager.dart feat: embed STT transcription in audio event content (#5731) 2026-02-18 12:39:38 -05:00
code_highlight_theme.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
color_value.dart fix: fix dart formatting for CI (#1368) 2025-01-07 08:32:42 -05:00
custom_http_client.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
custom_scroll_behaviour.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
date_time_extension.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
error_reporter.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
event_checkbox_extension.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
feedback_dialog.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
file_description.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
file_selector.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
fluffy_share.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
init_with_restore.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
localized_exception_extension.dart chore: prevent users from setting their l1 to their l2 2026-02-12 10:14:47 -05:00
markdown_context_builder.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
notification_background_handler.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
other_party_can_receive.dart Fluffychat merge (#1685) 2025-02-03 12:36:46 -05:00
platform_infos.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
push_helper.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
resize_video.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
room_status_extension.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
show_scaffold_dialog.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
show_update_snackbar.dart fluffychat merge 2025-06-09 16:02:38 -04:00
size_string.dart 1125 merge upstream fluffychat into main (#1184) 2024-12-09 14:17:44 -05:00
stream_extension.dart sorted imports again? 2023-12-04 03:13:10 +01:00
string_color.dart Fluffychat merge (#2731) 2025-05-08 13:22:26 -04:00
sync_status_localization.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
uia_request_manager.dart chore: make cancel button less prominent in email verification registration dialog (#5682) 2026-02-12 13:56:23 -05:00
url_launcher.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
voip_plugin.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00