fluffychat/lib/pangea/toolbar/reading_assistance
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
..
lemma_emoji_choice_item.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
lemma_emoji_picker.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
new_word_overlay.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
select_mode_buttons.dart chore: prevent users from setting their l1 to their l2 2026-02-12 10:14:47 -05:00
select_mode_controller.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
stt_transcript_tokens.dart feat: embed STT transcription in audio event content (#5731) 2026-02-18 12:39:38 -05:00
token_emoji_button.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
token_rendering_util.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
tokens_util.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
underline_text_widget.dart fix: add more space between text and underline for highlighted tokens (#5332) 2026-01-22 11:02:51 -05:00