From 4313f6382f21791feaec7181b822c789013ac76a Mon Sep 17 00:00:00 2001 From: GOWxx Date: Thu, 30 Mar 2023 18:50:58 +0800 Subject: [PATCH] feat: support history message count to zero --- app/components/settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/settings.tsx b/app/components/settings.tsx index 43d14fc47bb..f1de4d739b9 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -375,7 +375,7 @@ export function Settings(props: { closeSettings: () => void }) { type="range" title={config.historyMessageCount.toString()} value={config.historyMessageCount} - min="2" + min="0" max="25" step="2" onChange={(e) =>