Skip to content

Commit a1bedcd

Browse files
happy-qiaocopybara-github
authored andcommitted
fix: Make appendHistory private.
PiperOrigin-RevId: 612556850
1 parent 298d02c commit a1bedcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models/chat_session.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class ChatSession {
142142
return Promise.resolve(generateContentResult);
143143
}
144144

145-
async appendHistory(
145+
private async appendHistory(
146146
streamGenerateContentResultPromise: Promise<StreamGenerateContentResult>,
147147
newContent: Content[]
148148
): Promise<void> {
@@ -308,7 +308,7 @@ export class ChatSessionPreview {
308308
return Promise.resolve(generateContentResult);
309309
}
310310

311-
async appendHistory(
311+
private async appendHistory(
312312
streamGenerateContentResultPromise: Promise<StreamGenerateContentResult>,
313313
newContent: Content[]
314314
): Promise<void> {

0 commit comments

Comments
 (0)