mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
## What changed Add `Client::transcribe_audio` to send a single audio clip to the `/transcribe` dictation endpoint as an authenticated multipart upload and return the transcript text. Accept WAV, MP3, M4A, WebM, and Ogg, and cap the response body at 64 KiB. ## Testing Add a mock-server test that checks the bearer token, the exact multipart body for an M4A clip, and the returned transcript text. GitOrigin-RevId: 50ab00d932aefda942c730a8b037b53d4f5003c2