Skip to content

v2.8.0-beta.2 — Realtime API and Model Inputs

Choose a tag to compare

@rudyll rudyll released this 01 Sep 10:03
· 73 commits to main since this release

What changed

  • Updated OpenAI Realtime sessions to the current GA audio.input and audio.output schema, fixing the session.input_audio_format API 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-realtime alias.
  • 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.