From b8ae12a109b2d85b925502f5afea02c624e418d6 Mon Sep 17 00:00:00 2001 From: Andrew Drozdov Date: Thu, 26 Jun 2025 00:27:35 -0400 Subject: [PATCH] Update geminiChat.ts (#1681) Co-authored-by: Scott Densmore --- packages/core/src/core/geminiChat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/core/geminiChat.ts b/packages/core/src/core/geminiChat.ts index ac4f4898..7a3f088e 100644 --- a/packages/core/src/core/geminiChat.ts +++ b/packages/core/src/core/geminiChat.ts @@ -89,7 +89,7 @@ function validateHistory(history: Content[]) { * @remarks * The model may sometimes generate invalid or empty contents(e.g., due to safty * filters or recitation). Extracting valid turns from the history - * ensures that subsequent requests could be accpeted by the model. + * ensures that subsequent requests could be accepted by the model. */ function extractCuratedHistory(comprehensiveHistory: Content[]): Content[] { if (comprehensiveHistory === undefined || comprehensiveHistory.length === 0) {