From 9d046834d75cf32d5353b8088d5cea67c6f67f06 Mon Sep 17 00:00:00 2001 From: Will Chen Date: Thu, 22 May 2025 21:47:22 -0700 Subject: [PATCH] Lower default context size to 3 (#233) --- src/components/MaxChatTurnsSelector.tsx | 9 +++++++-- src/constants/settings_constants.ts | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/MaxChatTurnsSelector.tsx b/src/components/MaxChatTurnsSelector.tsx index d6d0387..571fd54 100644 --- a/src/components/MaxChatTurnsSelector.tsx +++ b/src/components/MaxChatTurnsSelector.tsx @@ -19,8 +19,8 @@ const defaultValue = "default"; const options: OptionInfo[] = [ { - value: "3", - label: "Economy (3)", + value: "2", + label: "Economy (2)", description: "Minimal context to reduce token usage and improve response times.", }, @@ -29,6 +29,11 @@ const options: OptionInfo[] = [ label: `Default (${MAX_CHAT_TURNS_IN_CONTEXT}) `, description: "Balanced context size for most conversations.", }, + { + value: "5", + label: "Plus (5)", + description: "Slightly higher context size for detailed conversations.", + }, { value: "10", label: "High (10)", diff --git a/src/constants/settings_constants.ts b/src/constants/settings_constants.ts index 2bb4455..bb3f2a0 100644 --- a/src/constants/settings_constants.ts +++ b/src/constants/settings_constants.ts @@ -1 +1 @@ -export const MAX_CHAT_TURNS_IN_CONTEXT = 5; +export const MAX_CHAT_TURNS_IN_CONTEXT = 3;