fluffychat/lib/pangea/common
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
..
config Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
constants feat: embed STT transcription in audio event content (#5731) 2026-02-18 12:39:38 -05:00
controllers feat: phonetic transcription v2 migration (#5640) 2026-02-10 16:29:26 -05:00
models Add score field to LLMFeedbackModel for human audit integration (#5684) 2026-02-12 14:52:22 -05:00
network feat: phonetic transcription v2 migration (#5640) 2026-02-10 16:29:26 -05:00
utils chore: log badge error to google analytic instead of sentry (#5718) 2026-02-17 09:50:21 -05:00
widgets fix: always pass pos and morph when available on request TTS (#5716) 2026-02-16 16:00:28 -05:00