v2.8.0-beta.2 — Realtime API and Model Inputs
What changed
- Updated OpenAI Realtime sessions to the current GA
audio.inputandaudio.outputschema, fixing thesession.input_audio_formatAPI error reported in #9. - Resampled 16 kHz StackChan input audio to the 24 kHz PCM format required by OpenAI Realtime and handled the current output audio and transcript event names.
- Changed OpenAI Realtime and Gemini Live model settings from fixed lists to free-text fields, addressing #10 and allowing new model IDs without another add-on release.
- Updated the default OpenAI Realtime model to the stable
gpt-realtimealias. - Added regression tests for the Realtime session payload and audio resampling.
Verification
- AI package unit tests: passed
- AI package race tests: passed
- Full Go test suite: passed
- AI package vet: passed
- Full Go build: passed
- Shell syntax, YAML parsing, and diff checks: passed
Known limitation
A live OpenAI API session and physical StackChan audio test were not run because no API key or device was available in the workspace.