Commit graph

6 commits

Author SHA1 Message Date
5263372839 feat(infra): route Gemini WS through SOCKS5 proxy (WARP)
Some checks are pending
CI / quality (push) Waiting to run
- Add socks-proxy-agent dependency
- Add resolveGeminiProxyAgent() helper reading GEMINI_PROXY_URL env
- Apply agent to T1 and T2 Gemini WS factory defaults
- No proxy when GEMINI_PROXY_URL is unset (local dev unchanged)
- Tests: 311/311 green
2026-06-30 20:30:15 +03:00
94387a71db fix(geminiLive): T2 prompt durci + VAD réintégré, retrait SDK @google/genai
- Bug 1: prompt système T2 durci (13 règles absolues, interdiction du "?",
  rôle inerte) pour stopper la relance systématique. Réf TD-22.
- Bug 2: realtimeInputConfig (VAD automaticActivityDetection, 4 champs)
  réintégré dans le setup frame Gemini.
- Bug 8: @google/genai retiré + test-gemini-live.js supprimé (SDK abandonné
  au profit du WebSocket brut).

Tests 292/292 verts. Validé Golden Dataset Groupe D.
2026-06-28 11:49:37 +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
653fc3150e feat: WS /t2/live — proxy Gemini Live API — 124/124 tests 2026-04-17 03:39:21 +03:00
2fba6f2003 test: validation manuelle auth middleware — 3/3 verts 2026-04-16 13:52:08 +03:00
708517edef feat: initialisation projet Hono.js + TypeScript + Vitest 2026-04-16 06:37:25 +03:00