Files
codex/codex-rs/backend-client
Ax 83c46d0a58 Add audio transcription to the backend client (#62142)
## 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
2026-11-18 00:33:23 +00:00
..
2025-09-30 10:10:33 +00:00