Commit graph

13 commits

Author SHA1 Message Date
9a62fba0f2 feat(geminiLive): restore systemInstruction in setup frame 2026-04-27 03:31:12 +03:00
2b1a354791 fix(geminiLive): use gemini-3.1-flash-live-preview (confirmed working) 2026-04-27 03:19:34 +03:00
9da733d156 fix(geminiLive): revert to raw WebSocket (SDK close without reason)
- Replace @google/genai SDK with raw 'ws' WebSocket
- Setup frame minimal (model + responseModalities AUDIO only)
- Forward client {type:audio} → realtimeInput JSON to Gemini
- Forward Gemini messages verbatim to client
- Detailed [T2] logs for Render debug
- Tests adapted to mock raw WS via clientFactory
2026-04-27 03:05:12 +03:00
61be6b1959 debug(geminiLive): minimal SDK config to isolate rejected field 2026-04-27 02:59:07 +03:00
91bb93a07f fix(geminiLive): use Gemini Developer API (no vertexai flag) 2026-04-27 02:55:40 +03:00
f3eb7d615e fix(geminiLive): try gemini-2.0-flash-live-001 model 2026-04-27 02:52:13 +03:00
be2b325c4b chore(geminiLive): add detailed SDK logging for Render debug 2026-04-27 02:48:28 +03:00
0662e766d4 Sprint 6d — Migrate Gemini Live to @google/genai SDK
feat(geminiLive): rewrite with GoogleGenAI SDK (vertexai: true, apiKey)
  replaces raw WebSocket to generativelanguage.googleapis.com
feat(geminiLive): restore full setup config (systemInstruction,
  inputAudioTranscription, outputAudioTranscription, VAD)
fix(geminiLive): buildSetupFrame → SDK config object (no manual JSON)
fix(useT2LiveSession): cancelTokenRef for idempotent startDialogue,
  closeAllRef for stable unmount cleanup
chore: add @google/genai@^1.50.1 dependency
test: 11 geminiLive tests rewritten with SDK mock
  292/292 backend tests green
2026-04-27 02:25:58 +03:00
d89b0b1e89 Sprint 6a — Backend T2 Live (WS proxy + correction + persistance)
feat(geminiLive): dynamic prompt builder, transcript accumulation,
  VAD config (END_SENSITIVITY_LOW, 2s silence), 210s timeout + 180s warning
feat(t2live): sujet fetch + validation, correction pipeline (deepseekCorrectEO
  + PHONOLOGY_STUB TD-08), production insert + report delivery via WS
feat(deepseek): TacheEO extended with EO_T2, VALID_TACHES_EO updated
test: 11 geminiLive tests (rewritten + 4 new), 10 t2live integration tests
  292/292 backend tests green (+15)
2026-04-26 19:53:37 +03:00
7479ac5a05 fix: T2 live — camelCase setup frame + logs enrichis — 124/124 tests 2026-04-17 04:44:54 +03:00
16617b5c54 fix: T2 live — modele gemini-2.5-flash-native-audio-latest 2026-04-17 04:26:54 +03:00
fb506a954f debug: logs T2 live — diagnostic Gemini WS (open, setup, message, close, error)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 04:09:30 +03:00
653fc3150e feat: WS /t2/live — proxy Gemini Live API — 124/124 tests 2026-04-17 03:39:21 +03:00