From f1637685c651180d1fc969c2f11712fda69eb9ee Mon Sep 17 00:00:00 2001 From: pppy2012 <69966697+pppy2012@users.noreply.github.com> Date: Thu, 3 Apr 2025 10:18:30 +0800 Subject: [PATCH] fix: set DEFAULT_CONTEXT_LENGTH to 8192 --- core/llm/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/llm/constants.ts b/core/llm/constants.ts index 7e8b8e9f5..333c79e70 100644 --- a/core/llm/constants.ts +++ b/core/llm/constants.ts @@ -1,5 +1,5 @@ const DEFAULT_MAX_TOKENS = 4096; -const DEFAULT_CONTEXT_LENGTH = 8096; +const DEFAULT_CONTEXT_LENGTH = 8192; const DEFAULT_TEMPERATURE = 0.5; const DEFAULT_ARGS = {