Gateway against OpenAI's Realtime API over WebSocket.
Each open/3 call provisions a new transport process. The returned
pid is the only stateful surface; subscribers receive
{:realtime_message, parsed} and {:realtime_close, reason}
tuples.
Summary
Functions
Construct a new gateway. If :api_key is omitted, falls back to the
OPENAI_API_KEY environment variable.
Pure helper to validate and parse a server event payload. Re-exported so tests can drive the gateway with scripted messages.
Types
Functions
Construct a new gateway. If :api_key is omitted, falls back to the
OPENAI_API_KEY environment variable.
Pure helper to validate and parse a server event payload. Re-exported so tests can drive the gateway with scripted messages.