Skip to content

Commit a948f68

Browse files
authored
Merge branch 'main' into security-marks-assets-v2
2 parents dbe226b + f9b1fd4 commit a948f68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generative-ai/snippets/function-calling/functionCallingStreamContent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async function functionCallingStreamContent(
7070
contents: [
7171
{role: 'user', parts: [{text: 'What is the weather in Boston?'}]},
7272
{
73-
role: 'model',
73+
role: 'ASSISTANT',
7474
parts: [
7575
{
7676
functionCall: {
@@ -80,7 +80,7 @@ async function functionCallingStreamContent(
8080
},
8181
],
8282
},
83-
{role: 'user', parts: functionResponseParts},
83+
{role: 'USER', parts: functionResponseParts},
8484
],
8585
tools: functionDeclarations,
8686
};

0 commit comments

Comments
 (0)