mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Addresses Wes's review feedback on PR #1511: 1. Per-pubkey rate limit on POST /transcribe/session (5/min, configurable via BUZZ_TRANSCRIBE_SESSIONS_PER_MINUTE). Each session opens a metered OpenAI Realtime connection on the operator's bill. 2. Auto-submit disabled by default (DEFAULT_AUTO_SUBMIT_PHRASE = ''). The infrastructure for configurable phrases remains in place and can be wired to a user setting later. Also: - Move BUZZ_TRANSCRIPTION_MODEL into Config (consistent with other knobs) - Use a shared reqwest::Client via OnceLock (connection pooling) - Stop dictation on manual send (stopDictationRef wiring)