@@ -4215,6 +4215,7 @@ describe("google-meet plugin", () => {
42154215 . mockReturnValueOnce ( outputProcess )
42164216 . mockReturnValueOnce ( inputProcess )
42174217 . mockReturnValueOnce ( replacementOutputProcess ) ;
4218+ const fullConfig = { models : { providers : { } } } as never ;
42184219 const sessionStore : Record < string , unknown > = { } ;
42194220 const runtime = {
42204221 agent : {
@@ -4240,7 +4241,7 @@ describe("google-meet plugin", () => {
42404241 config : resolveGoogleMeetConfig ( {
42414242 realtime : { strategy : "bidi" , provider : "openai" , model : "gpt-realtime" , agentId : "jay" } ,
42424243 } ) ,
4243- fullConfig : { } as never ,
4244+ fullConfig,
42444245 runtime : runtime as never ,
42454246 meetingSessionId : "meet-1" ,
42464247 inputCommand : [ "capture-meet" ] ,
@@ -4253,6 +4254,7 @@ describe("google-meet plugin", () => {
42534254 expect ( noopLogger . info ) . toHaveBeenCalledWith (
42544255 "[google-meet] realtime voice bridge starting: strategy=bidi provider=openai model=gpt-realtime audioFormat=pcm16-24khz" ,
42554256 ) ;
4257+ expect ( callbacks ?. cfg ) . toBe ( fullConfig ) ;
42564258 inputStdout . write ( Buffer . from ( [ 1 , 2 , 3 ] ) ) ;
42574259 callbacks ?. onAudio ( Buffer . from ( [ 4 , 5 ] ) ) ;
42584260 callbacks ?. onMark ?.( "mark-1" ) ;
@@ -4689,6 +4691,7 @@ describe("google-meet plugin", () => {
46894691 } ,
46904692 } ;
46914693 let pullCount = 0 ;
4694+ const fullConfig = { models : { providers : { } } } as never ;
46924695 const sessionStore : Record < string , unknown > = { } ;
46934696 const runtime = {
46944697 nodes : {
@@ -4727,7 +4730,7 @@ describe("google-meet plugin", () => {
47274730 config : resolveGoogleMeetConfig ( {
47284731 realtime : { strategy : "bidi" , provider : "openai" , model : "gpt-realtime" } ,
47294732 } ) ,
4730- fullConfig : { } as never ,
4733+ fullConfig,
47314734 runtime : runtime as never ,
47324735 meetingSessionId : "meet-1" ,
47334736 nodeId : "node-1" ,
@@ -4739,6 +4742,7 @@ describe("google-meet plugin", () => {
47394742 expect ( noopLogger . info ) . toHaveBeenCalledWith (
47404743 "[google-meet] realtime voice bridge starting: strategy=bidi provider=openai model=gpt-realtime audioFormat=pcm16-24khz" ,
47414744 ) ;
4745+ expect ( callbacks ?. cfg ) . toBe ( fullConfig ) ;
47424746 callbacks ?. onAudio ( Buffer . from ( [ 1 , 2 , 3 ] ) ) ;
47434747 callbacks ?. onClearAudio ( ) ;
47444748 callbacks ?. onReady ?.( ) ;
0 commit comments