@@ -152,9 +152,10 @@ async function detectEventIntent(
152152 if ( result . outputContexts && result . outputContexts . length ) {
153153 console . log ( ' Output contexts:' ) ;
154154 result . outputContexts . forEach ( context => {
155- const contextId = contextClient . matchContextFromProjectAgentSessionContextName (
156- context . name
157- ) ;
155+ const contextId =
156+ contextClient . matchContextFromProjectAgentSessionContextName (
157+ context . name
158+ ) ;
158159 const contextParameters = JSON . stringify (
159160 struct . decode ( context . parameters )
160161 ) ;
@@ -224,9 +225,10 @@ async function detectAudioIntent(
224225 if ( result . outputContexts && result . outputContexts . length ) {
225226 console . log ( ' Output contexts:' ) ;
226227 result . outputContexts . forEach ( context => {
227- const contextId = contextClient . matchContextFromProjectAgentSessionContextName (
228- context . name
229- ) ;
228+ const contextId =
229+ contextClient . matchContextFromProjectAgentSessionContextName (
230+ context . name
231+ ) ;
230232 const contextParameters = JSON . stringify (
231233 struct . decode ( context . parameters )
232234 ) ;
@@ -314,9 +316,10 @@ async function streamingDetectIntent(
314316 if ( result . outputContexts && result . outputContexts . length ) {
315317 console . log ( ' Output contexts:' ) ;
316318 result . outputContexts . forEach ( context => {
317- const contextId = contextClient . matchContextFromProjectAgentSessionContextName (
318- context . name
319- ) ;
319+ const contextId =
320+ contextClient . matchContextFromProjectAgentSessionContextName (
321+ context . name
322+ ) ;
320323 const contextParameters = JSON . stringify (
321324 struct . decode ( context . parameters )
322325 ) ;
0 commit comments