feat(geminiLive): restore audio transcription config
This commit is contained in:
parent
9a62fba0f2
commit
452255d77f
2 changed files with 5 additions and 3 deletions
|
|
@ -78,9 +78,9 @@ describe("openGeminiLiveSession (raw WS)", () => {
|
||||||
expect(setup.setup.systemInstruction.parts[0].text).toContain(
|
expect(setup.setup.systemInstruction.parts[0].text).toContain(
|
||||||
"un bailleur qui propose un appartement",
|
"un bailleur qui propose un appartement",
|
||||||
);
|
);
|
||||||
// ⚠ DEBUG : autres champs encore absents — réintégration champ par champ.
|
expect(setup.setup.inputAudioTranscription).toEqual({});
|
||||||
expect(setup.setup.inputAudioTranscription).toBeUndefined();
|
expect(setup.setup.outputAudioTranscription).toEqual({});
|
||||||
expect(setup.setup.outputAudioTranscription).toBeUndefined();
|
// ⚠ DEBUG : realtimeInputConfig (VAD) encore absent — prochain push.
|
||||||
expect(setup.setup.realtimeInputConfig).toBeUndefined();
|
expect(setup.setup.realtimeInputConfig).toBeUndefined();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -224,6 +224,8 @@ function buildSetupFrame(systemPrompt: string): string {
|
||||||
systemInstruction: {
|
systemInstruction: {
|
||||||
parts: [{ text: systemPrompt }],
|
parts: [{ text: systemPrompt }],
|
||||||
},
|
},
|
||||||
|
inputAudioTranscription: {},
|
||||||
|
outputAudioTranscription: {},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue