mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-12-06 01:24:28 +01:00
- voice_broker._ws_url_for: re-append /realtime?model=<id> on the
openai_realtime and compatible_ws branches (1fb3ecf dropped it,
silently breaking provider #1 and compat dials); gemini BidiSetup
URL unchanged.
- useVoiceAgent.isRealtimeProvider: add gemini_live so a resolved
Gemini Live provider actually opens a VoiceAudioClient session on
PTT (was dead end-to-end from the UI); helper now exported.
- voice_gemini.gemini_event_to_client: content translates first —
usageMetadata no longer takes an exclusive branch, so Gemini's
common turnComplete+usageMetadata message still yields response.done;
the relay meters straight off the raw event instead. Stale 'model
rides the setup message, not the URL' comments corrected.
- relay session.update patch forwarding guarded off Gemini sockets
(OpenAI-style build_session_config JSON would be a protocol error).
- Tests: dial-URL regression pins for openai/compat/gemini branches;
combined-event translation pin; realtimeProviderGate frontend test.