File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -339,20 +339,21 @@ export class ChatSessionPreview {
339339 ) : Promise < GenerateContentResult > {
340340 const newContent : Content [ ] =
341341 formulateNewContentFromSendMessageRequest ( request ) ;
342- const generateContentrequest : GenerateContentRequest = {
342+ const generateContentRequest : GenerateContentRequest = {
343343 contents : this . historyInternal . concat ( newContent ) ,
344344 safetySettings : this . safetySettings ,
345345 generationConfig : this . generationConfig ,
346346 tools : this . tools ,
347347 toolConfig : this . toolConfig ,
348348 systemInstruction : this . systemInstruction ,
349+ cachedContent : this . cachedContent ,
349350 } ;
350351
351352 const generateContentResult : GenerateContentResult = await generateContent (
352353 this . location ,
353354 this . resourcePath ,
354355 this . fetchToken ( ) ,
355- generateContentrequest ,
356+ generateContentRequest ,
356357 this . apiEndpoint ,
357358 this . generationConfig ,
358359 this . safetySettings ,
You can’t perform that action at this time.
0 commit comments