Skip to content

Commit fcd8cbf

Browse files
author
Cloud Shell
committed
chore: lint functionCallingStreamContent
1 parent b27e916 commit fcd8cbf

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

generative-ai/snippets/functionCallingStreamContent.js

+8-6
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,14 @@ async function functionCallingStreamChat(
7070
{role: 'user', parts: [{text: 'What is the weather in Boston?'}]},
7171
{
7272
role: 'model',
73-
parts: [{
74-
functionCall: {
75-
name: 'get_current_weather',
76-
args: {'location': 'Boston'},
77-
},
78-
}],
73+
parts: [
74+
{
75+
functionCall: {
76+
name: 'get_current_weather',
77+
args: {'location': 'Boston'},
78+
},
79+
}
80+
],
7981
},
8082
{role: 'function', parts: functionResponseParts},
8183
],

0 commit comments

Comments
 (0)