From 62e29d5a5159c69ced20c14d20cd4a5bf0bf3ab3 Mon Sep 17 00:00:00 2001
From: Marcus Schiesser <mail@marcusschiesser.de>
Date: Tue, 12 Dec 2023 15:41:39 +0700
Subject: [PATCH] fix: context window sizes

---
 packages/core/src/llm/mistral.ts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/packages/core/src/llm/mistral.ts b/packages/core/src/llm/mistral.ts
index 3516e3c60..aded9ef72 100644
--- a/packages/core/src/llm/mistral.ts
+++ b/packages/core/src/llm/mistral.ts
@@ -7,9 +7,9 @@ import {
 import { ChatMessage, ChatResponse, LLM } from "./LLM";
 
 export const ALL_AVAILABLE_MISTRAL_MODELS = {
-  "mistral-tiny": { contextWindow: 4096 },
-  "mistral-small": { contextWindow: 4096 },
-  "mistral-medium": { contextWindow: 4096 },
+  "mistral-tiny": { contextWindow: 32000 },
+  "mistral-small": { contextWindow: 32000 },
+  "mistral-medium": { contextWindow: 32000 },
 };
 
 export class MistralAISession {
-- 
GitLab