@@ -133,7 +133,7 @@ final class ChatGPTStreamTests: XCTestCase {
133133 id: " id " ,
134134 type: " function " ,
135135 function: . init( name: " function " , arguments: " { \n \" foo \" : 1 \n } " ) ,
136- response: . init( id : " id " , content: " Function is called. " , summary: nil )
136+ response: . init( content: " Function is called. " , summary: nil )
137137 ) ,
138138 ]
139139 ) ,
@@ -254,19 +254,19 @@ final class ChatGPTStreamTests: XCTestCase {
254254 id: " id " ,
255255 type: " function " ,
256256 function: . init( name: " function " , arguments: " { \n \" foo \" : 1 \n } " ) ,
257- response: . init( id : " id " , content: " Function is called. " , summary: nil )
257+ response: . init( content: " Function is called. " , summary: nil )
258258 ) ,
259259 . init(
260260 id: " id2 " ,
261261 type: " function " ,
262262 function: . init( name: " function " , arguments: " { \n \" foo \" : 1 \n } " ) ,
263- response: . init( id : " id2 " , content: " Function is called. " , summary: nil )
263+ response: . init( content: " Function is called. " , summary: nil )
264264 ) ,
265265 . init(
266266 id: " id3 " ,
267267 type: " function " ,
268268 function: . init( name: " function " , arguments: " { \n \" foo \" : 1 \n } " ) ,
269- response: . init( id : " id3 " , content: " Function is called. " , summary: nil )
269+ response: . init( content: " Function is called. " , summary: nil )
270270 ) ,
271271 ]
272272 ) ,
@@ -360,7 +360,7 @@ final class ChatGPTStreamTests: XCTestCase {
360360 id: " id " ,
361361 type: " function " ,
362362 function: . init( name: " function " , arguments: " { \n \" foo \" : 1 \n } " ) ,
363- response: . init( id : " id " , content: " Function is called. " , summary: nil )
363+ response: . init( content: " Function is called. " , summary: nil )
364364 ) ,
365365 ]
366366 ) ,
0 commit comments