5263372839
feat(infra): route Gemini WS through SOCKS5 proxy (WARP)
...
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
868bd09397
feat(t1-live): examinateur avec interruption probabiliste pilotee backend (Sprint 7a)
...
- Session T1 Live : monologue candidat + interruptions pilotees backend (VAD manuel).
- Voix examinateur native Gemini ; le backend decide le timing (tirage probabiliste 0-2, fenetre [25s,75s]), Gemini formule la relance sur signal d'injection (anti-TD-22).
- Injection : activityEnd -> clientContent -> activityStart ; signaux WS interruption_start/end.
- Fin de session : activityEnd final flushe le dernier segment candidat ; relance terminale coupee (audio non renvoye, texte jete) ; seul le texte candidat conserve pour l'evaluation.
- buildT1SystemPrompt : nouvel artefact, regle 7 du T2 NON propagee (questions autorisees).
- Route /t1/live : auth Premium reutilisee, contexte questionnaire dynamique, persistance EO_T1 (sujet_id null), evaluation via correctEO('EO_T1'), phonologie stub /4 (TD-08 gele).
- geminiLive.ts : exports additifs + buildSetupFrame parametrable VAD (T2 inchange).
- gitignore : exclusion des artefacts jetables de test/spike.
2026-06-29 22:07:57 +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
eee75b53ca
fix(geminiLive): remove speechConfig (unsupported by model)
CI / quality (push) Waiting to run
2026-04-27 04:38:29 +03:00
cca05df62c
fix(geminiLive): nuanced no-question rule + Charon voice (male)
2026-04-27 04:27:17 +03:00
8863520a2e
fix: T2 prompt calibration (25 words max) + JSONB parse guard (500 on getById)
2026-04-27 04:11:02 +03:00
452255d77f
feat(geminiLive): restore audio transcription config
2026-04-27 03:42:31 +03:00
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