fix: T2 live — camelCase setup frame + logs enrichis — 124/124 tests
This commit is contained in:
parent
16617b5c54
commit
7479ac5a05
4 changed files with 14 additions and 7 deletions
|
|
@ -51,8 +51,8 @@ describe('openGeminiLiveSession', () => {
|
|||
expect(gemini.sent).toHaveLength(1)
|
||||
const setup = JSON.parse(gemini.sent[0] as string)
|
||||
expect(setup.setup.model).toMatch(/gemini/)
|
||||
expect(setup.setup.system_instruction.parts[0].text).toBe(T2_SYSTEM_PROMPT)
|
||||
expect(setup.setup.generation_config.response_modalities).toContain('AUDIO')
|
||||
expect(setup.setup.systemInstruction.parts[0].text).toBe(T2_SYSTEM_PROMPT)
|
||||
expect(setup.setup.generationConfig.responseModalities).toContain('AUDIO')
|
||||
})
|
||||
|
||||
it('forwarde un message client (Buffer audio) vers Gemini', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue