Skip to content

feat: add voice messages#101

Merged
owainlewis merged 2 commits into
mainfrom
voice-messages
Jul 15, 2026
Merged

feat: add voice messages#101
owainlewis merged 2 commits into
mainfrom
voice-messages

Conversation

@owainlewis

Copy link
Copy Markdown
Owner

Summary

  • add provider-neutral voice transcription and speech synthesis with Telegram as the first transport
  • use OPENAI_API_KEY for gpt-4o-transcribe and gpt-4o-mini-tts, with Opus voice replies and no local audio dependency
  • keep text working when voice credentials or API calls fail, enforce in-memory size limits, and isolate transcription per conversation
  • document setup for shells, launchd, and systemd

Verification

  • cargo test
  • cargo clippy --all-targets -- -D warnings
  • cargo build --release
  • bash tests/install.sh
  • independent diff review: no remaining blockers

Model choice

GPT-Live was announced on July 8, 2026, but OpenAI says API availability is coming soon. Telegram voice notes therefore use the current request-based transcription and speech endpoints. The provider boundary can support GPT-Live when its API ships.

@owainlewis
owainlewis merged commit a70e7ee into main Jul 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant