summaryrefslogtreecommitdiff
path: root/packages/core/src
diff options
context:
space:
mode:
authorAndrew Drozdov <[email protected]>2025-06-26 00:27:35 -0400
committerGitHub <[email protected]>2025-06-26 04:27:35 +0000
commitb8ae12a109b2d85b925502f5afea02c624e418d6 (patch)
tree694fbfc95e8a0934852f06468df3670cecfebedd /packages/core/src
parent759ad4cc966df0b472505efce653c3badd2a5537 (diff)
Update geminiChat.ts (#1681)
Co-authored-by: Scott Densmore <[email protected]>
Diffstat (limited to 'packages/core/src')
-rw-r--r--packages/core/src/core/geminiChat.ts2
1 files changed, 1 insertions, 1 deletions
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) {